A nonzero residue class is a quadratic residue if for some nonzero . If it is a square, Fermat's little theorem gives . Conversely, the map on the nonzero classes identifies exactly the pairs , giving distinct squares. They are all roots of over the field ; a polynomial of this degree has at most that many roots. Its roots are therefore precisely the squares. This proves Euler's criterionApplying it to gives . The exclusion of is the usual nonzero-residue convention needed for this equivalence.
For distinct odd primes , quadratic reciprocity statesUsing the multiplicativity of the Legendre symbol, and the supplementary law ,The first factor is because ; the second is because the reciprocity sign is positive. Thus .
Articles by others on the same topic
There are currently no matching articles.