How to prove that equation $x^2 + y^2 + 1 = 0$ (mod $p$) has roots?
Hints are acceptable.
How to prove that equation $x^2 + y^2 + 1 = 0$ (mod $p$) has roots?
Hints are acceptable.
Hint: Let $p$ be an odd prime. Note that $x^2$ takes on $\frac{p+1}{2}$ distinct values modulo $p$, and so does $-(y^2+1)$. Now use the Pigeonhole Principle.