Find the sum of all primes for which is the square of a number.
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.
5 p + 4 p 4 = x 2 ⟹ 5 p = x 2 − 4 p 4 = ( x 2 − 2 p 2 ) ( x 2 + 2 p 2 )
x 2 − 2 p 2 = 5 t , x 2 + 2 p 2 = 5 p − t , ⌊ 2 p ⌋ ≥ t ≥ 0
2 p 2 + 2 p 2 = 5 p − t − 5 t ⟹ 4 p 2 = 5 p − t − 5 t ⟹ p 2 = 5 t 4 5 p − 2 t − 1
t can be either { 0 , 1 , 2 } , for p 2 is a power two of a prime.
If t = 2 then 4 5 p − 4 − 1 = 1 ⟹ 5 p − 4 = 5 ⟹ p = 5
If t = 1 then 4 5 p − 2 − 1 = 5 ⟹ 5 p − 2 = 2 1 and no p satisfies here.
If t = 0 then 5 p − 1 = 4 p 2 . one can check that for p ≥ 2 we always have 5 p − 1 > 4 p 2 (note that 5 p increases with greater rate, compared to p 2 ), so no p passes here either.