Find the only prime which is equal to the difference of two cubes of prime.
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.
p 3 − q 3 = ( p − q ) ( p 2 + p q + q 2 )
The difference of cubes p 3 − q 3 is prime only if one of the above factor is 1 .
p 2 + p q + q 2 > 1 for any primes.Therefore p − q has to be 1
p − q = 1 only for p = 3 , q = 2 as they are the only primes that differ by 1 .
So the required number is 3 3 − 2 3 = 1 9 which indeed is a prime.