Essentially, I'm sure this is a simple answer as my lecturer skipped past this step. However I'm having trouble seeing why this is true. Is it making use of a theorem or is it simply taking everything $\pmod 4$ since $16$ will obviously be congruent to $0 \pmod 4$.
But even in this case, $p$ is a divisor so I don't see why that would be the case unless we stated $p = 16x^4 + 1$. Then it would follow that $p \equiv 1 \pmod 4$.
I wonder if it's something to do with Mersenne numbers but I feel like I am really missing the point and complicating something simple.
Any help is appreciated!
If $p|16x^4+1$, we can write that as $16x^4+1\equiv0\pmod{p}$, or
$$16x^4\equiv-1\pmod{p}$$
Since $16x^4=(4x^2)^2$ is a perfect square, we have that $-1$ is a quadratic residue, mod $p$, which is true if and only if $p\equiv1\pmod{4}$.