Problem

Source:

Tags: quadratics, modular arithmetic, Congruences



Let $p$ be an odd prime of the form $p=4n+1$. Show that $n$ is a quadratic residue $\pmod{p}$. Calculate the value $n^{n}$ $\pmod{p}$.