Jump to content

Quadratic residue

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Michael Hardy (talk | contribs) at 17:37, 23 July 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics, a number q is called a quadratic residue modulo p if there exists an integer x such that:

Otherwise, q is called a quadratic non-residue.

In effect, a quadratic residue modulo p is a number that has a square root in modular arithmetic when the modulus is p. The law of quadratic reciprocity says something about quadratic residues and primes.

Quadratic residues are used in the Legendre symbol. Quadratic reciprocity and the Gauss lemma both reason about quadratic residues.