At first I asked this: Proving something with Wilson theorem.
Now I have to prove that if $p=4n+3$ it's impossible to represent $-1$ in the form $x^2$ modulo $p$. How can I prove it?
Thank you!
At first I asked this: Proving something with Wilson theorem.
Now I have to prove that if $p=4n+3$ it's impossible to represent $-1$ in the form $x^2$ modulo $p$. How can I prove it?
Thank you!
It is generally true that $a$ is a quadratic remainder (i.e. is of the form $x^2$ for some $x$) if and only if $a^{\frac{p-1}{2}} \equiv 1 \pmod{p}$. Once you know this, just note that for $p \equiv 3 \pmod{4}$ you have $(-1)^{\frac{p-1}{2}} = -1$ and you are done.
Because you only need to show that $-1$ is not a quadratic residue, it will suffice to show one implication (the easy one). So, suppose that $a = x^2$ and $a^{\frac{p-1}{2}} \equiv -1 \pmod{p}$. We get by substituting one equation to another that $x^{p-1} \equiv -1 \pmod{p}$. But this is in contradiction with Fermat's theorem, which finishes the proof.