Day 13: A Prime Time for a Number Theory Problem

Given that p p and q q are prime numbers that satisfy ( p q ) ( p + q ) ( 2 p + q ) = 208 (p-q)(p+q)(2p+q)=208 Find all possible solutions, if any, and give your answer as the sum of p × q p\times q of each pair.


This problem is part of the Advent Calendar 2015 .


The answer is 15.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Michael Ng
Dec 12, 2015

It is possible to bash this problem but here is another way:

Note that ( p q ) ( p + q ) = p 2 q 2 (p-q)(p+q)=p^2-q^2 . Now apart from 3 3 , all primes squared are 1 m o d 3 1\, \mathrm{mod}\, 3 , so if both primes are not 3 3 , then the LHS must be divisible by 3 3 , and so there cannot be a solution as 208 208 is not divisible by 3 3 . Also if p = q = 3 p=q=3 it is clear that the equation is not satisfied.

Therefore one of p p and q q must be 3 3 . If p = 3 p=3 then q = 2 q=2 , as otherwise the LHS is negative. This does not work. Therefore q = 3 q=3 . Checking shows that p = 5 p=5 works, and it is clear that the LHS will only increase as p p increases.

And so the only solution is ( 5 , 3 ) (5,3) giving the answer 15 \boxed{15} as required.

Barr Shiv
Oct 1, 2018

208=2^4×13 (p-q)(p+q)(2p+q)=208 let's assume that p and q are equal to 2. that leaves us with (p-q)=2k,(p+q)=2n,(2p+q)=2z+1 since there's only one option for a non even Factor for 208 we can say that 2p+q=13 and since p-q<p+q there is no other option than setting p-q=2 p+q=8. after choosing 2 out of the 3 eqaution and solving we see that p=5 q=3 setisfy all the conditions therefore q×p=15

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...