Find all the prime numbers such that where is a positive integer.
Give your answer asthe sum of all the values of .
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 can write the equation as p ( p − 1 ) = ( n − 1 ) ( n 2 + n + 1 ) .
if p ∣ n − 1 and n 2 + n + 1 ∣ p − 1 we have n 2 + n + 1 ≤ p − 1 ≤ n − 2 and this is impossible.
It must be p ∣ n 2 + n + 1 and n − 1 ∣ p − 1 . We call a = n − 1 p − 1 = p n 2 + n + 1 . so we have p = a n − a + 1 and a p = n 2 + n + 1 . From this two equations it follows p ( a 2 − n − 2 ) = ( 3 a − n − 2 ) so it must be a ≤ 3 and we can easily check that for a=1,2 there is no solution and for a = 3 → p = 1 9 , x = 7