As the title implies.
I'm proving it by contradiction and I've already ruled out $p \equiv 0$ and $2$ (mod $4$).
I'm having trouble proving that it cannot be $\equiv 3$ (mod $4$). Namely, if $p \equiv 3$ (mod 4), then $m^2 + n^2 \equiv 1$ or $3$ (mod $4$). I know that $m^2 + n^2$ cannot be congruent to $3$ (mod $4$); but what about $1$?
Thank you.
is cited as theorem 3.4 of this paper, referring to page $13$ of Hardy and Wright, 4th ed. Hardy and Wright, 6th ed then send you to section $20.3$
– Ross Millikan Apr 10 '13 at 00:02