Given that p and q are primes and p + q = ( p − q ) 3 . Find p q .
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.
We do the substitution n = p − q , note that n will always be positive because for the equation to be true p will always be greater than q.
2 p − n = n 3
p = 2 1 n ( n 2 + 1 )
Already my intuition tells me that n = 2 is an answer. But since intuition is not rigorous, we shall continue:
Since p is prime one of the following should be true:
In conclusion: p=5 and q=3 is the only solution to the equation.
Problem Loading...
Note Loading...
Set Loading...
p + q = ( p − q ) 3
p > q , therefore p is not the smallest prime, and p is odd
let k be any odd factor of p − q .
therefore k is also a factor of p + q
therefore k is a factor of 2 q , the difference.
But 2 q has NO odd proper factors, so k does not exist, and therefore p − q has no odd factors.
(considering the case k = q , k cannot then be a factor of p + q because p is prime)
therefore p-q is a power of 2, say 2^m
p − q = 2 m
p + q = 2 3 m
2 3 m − 2 m = 2 q
2 3 m − 1 − 2 m − 1 = q and is therefore odd
therefore 2 m − 1 is odd
therefore m = 1
q = 3 , p = 5
p q = 1 5