What is it with Primes and Squares?

Find the sum of all primes p p for which 5 p + 4 p 4 \large 5^p+4p^4 is the square of a number.


The answer is 5.

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.

1 solution

5 p + 4 p 4 = x 2 5 p = x 2 4 p 4 = ( x 2 2 p 2 ) ( x 2 + 2 p 2 ) 5^p+4p^4=x^2 \implies 5^p=x^2- 4p^4=(x^2-2p^2)(x^2+2p^2)

x 2 2 p 2 = 5 t , x 2 + 2 p 2 = 5 p t , p 2 t 0 x^2-2p^2=5^{t} \ , \ x^2+2p^2=5^{p-t} \ , \ \lfloor \frac{p}{2} \rfloor \geq t \geq 0

2 p 2 + 2 p 2 = 5 p t 5 t 4 p 2 = 5 p t 5 t p 2 = 5 t 5 p 2 t 1 4 2p^2+2p^2=5^{p-t}-5^t \implies 4p^2=5^{p-t}-5^t \implies p^2=5^t \frac{5^{p-2t}-1}{4}

t t can be either { 0 , 1 , 2 } \{0,1,2\} , for p 2 p^2 is a power two of a prime.

If t = 2 t=2 then 5 p 4 1 4 = 1 5 p 4 = 5 p = 5 \frac{5^{p-4}-1}{4}=1 \implies 5^{p-4}=5 \implies p=5

If t = 1 t=1 then 5 p 2 1 4 = 5 5 p 2 = 21 \frac{5^{p-2}-1}{4}=5 \implies 5^{p-2}=21 and no p p satisfies here.

If t = 0 t=0 then 5 p 1 = 4 p 2 5^{p}-1=4p^2 . one can check that for p 2 p \geq 2 we always have 5 p 1 > 4 p 2 5^{p}-1 > 4p^2 (note that 5 p 5^p increases with greater rate, compared to p 2 p^2 ), so no p p passes here either.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...