Diophantine equation: $x^4+4=py^4$

diophantine equations

find all primes p for which $x^4+4=py^4$ is solvable for integers.

My try: I started out with $p=2$ . LHS must be even, thus $(x^4+4)\mod(16)=4$ similarly

$(2y^4)\mod (16)=${$0,2$}. Thus for $p=2$ there are no solutions.

Now I tried factoring i.e $x^4+4=(x^2+2x+2)(x^2-2x+2)=py^4.$ I dont know what to do next

Any ideas??

Best Answer

It is easy to see that $x$ is odd (otherwise $4$ divides $py^4$ and $x, y$ are both even, which gives contradiction mod $16$). Then the $\gcd$ of $x^2 + 2x + 2$ and $x^2 - 2x + 2$ is $1$. Therefore we must have \begin{eqnarray}x^2 + 2x + 2 &=& u^4\\x^2 - 2x + 2 &=& pv^4\end{eqnarray} or \begin{eqnarray}x^2 + 2x + 2 &=& pu^4\\x^2 - 2x + 2 &=& v^4.\end{eqnarray} In the first case, we have $(x^2 + 1)^2 + 1 = (u^2)^2$ which is impossible. In the second case, we have $(x^2 - 1)^2 + 1 = (v^2)^2$ which leads to $x = 1$, and hence $y = 1$ and $p = 5$.