by Guest » Sat Jul 09, 2011 5:15 pm
It is a well known fact, I wonder whether you know about the legender symbole, actually, if an odd prime number [tex]p[/tex] divide [tex]x^2+4[/tex] then [tex]-1[/tex] is a quadratic residue modulo [tex]p[/tex] which implies by Gauss's Lemma, that [tex]p\equiv 1\pmod{4}[/tex]. If you don't know about the legendre symbole, you can prove that fact using only Fermat's Theorem. In fact, if [tex]p[/tex] is an odd prime and [tex]p|x^2+4[/tex] then [tex](-4)^{\frac{p-1}{2}} \equiv x^{p-1}\pmod{p}[/tex] this implies after Fermat liltle theorem that [tex](-1)^{\frac{p-1}{2}}=1[/tex] or again [tex]p\equiv 1\pmod{4}[/tex]