Logarithms?

Determine the sum of all primes p p such that 5 p + 4 p 4 5^p+4\cdot p^4 is a perfect square.


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

Sam Bealing
Jun 6, 2016

L e t m N Let \: m \in \mathbb{N}

5 p + 4 p 4 = m 2 5 p + ( 2 p 2 ) 2 = m 2 5 p = m 2 ( 2 p 2 ) 2 5 p = ( m + 2 p 2 ) ( m 2 p 2 ) 5^p+4p^4=m^2 \Rightarrow 5^p+(2p^2)^2=m^2 \Rightarrow 5^p=m^2-(2p^2)^2 \Rightarrow 5^p=(m+2p^2)(m-2p^2)

Case 1: 5 ( m + 2 p 2 ) , ( m 2 p 2 ) 5 ( m + 2 p 2 ) ( m 2 p 2 ) 5 4 p 2 5 p p = 5 5 \vert (m+2p^2),(m-2p^2) \Rightarrow 5 \vert (m+2p^2)-(m-2p^2) \Rightarrow 5 \vert 4p^2 \Rightarrow 5 \vert p \Rightarrow p=5

p = 5 5 p + 4 p 4 = 5625 = 7 5 2 p=5 \Rightarrow 5^p+4p^4=5625=75^2

Case 2:

( m 2 p 2 ) = 1 , ( m + 2 p 2 ) = 5 p 5 p 1 = 4 p 2 p ( 5 p 1 ) (m-2p^2)=1,(m+2p^2)=5^p \Rightarrow 5^p-1=4p^2 \Rightarrow p \vert (5^p-1)

Using FLT and the fact that p 5 p \neq 5 we have:

5 p 1 5 1 4 ( m o d p ) p ( 5 p 1 ) p 4 p = 2 5^p-1 \equiv 5-1 \equiv 4 \pmod p \\ p \vert (5^p-1) \Rightarrow p \vert 4 \Rightarrow p=2

p = 2 5 p + 4 p 4 = 89 m 2 p=2 \Rightarrow 5^p+4p^4=89 \neq m^2

So our only solution is p = 5 \boxed{p=5} .

Moderator note:

Great approach used here. The factorization is pretty natural, from which the cases follow.

I wonder what "variable" of 5 will lead to another solution in case 2. That would make an interesting follow up question.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...