In trying to work out the rank of a certain family of elliptic curves, I came across an equation which has a solution in $\mathbb{Q}_p$ iff -4 is a 4th power modulo $p$. I've been trying to work out precisely when this is the case.
If $p$ is 3 mod 4 the value taken by $x^4$ are the same as those taken by $x^2$, so we easily see there are no solutions.
If $p$ is 1 mod 8, we can use a primitive 8th root of unit to build a solution.
I haven't however been able to find a critereon for $$x^4 \equiv -4 \mod{p}$$ to have a solution if $p \equiv 5$ mod 8.
One way to proceed would be to use something like biquadratic reciprocity, which is problematic since
- -4 is not prime.
- The corresponding rational condition would be a messy thing like being able to write p as a sum of 4th powers or similar.
I was expecting the answer to be much simpler than that (either always or never has a solution), but haven't been able to work out a reasonable method to find it.
Any ideas on how I could proceed?