Lably
Skip to content

Legendre symbol

Function in number theory

  • 4 min read
  • 7 chapters

Related on Lably

Through Prime number, Integer and If and only if

(ap)={1if a is a quadratic residue modulo p and a≢0(modp),−1if a is a quadratic nonresidue modulo p,0if a≡0(modp).

where p is an odd prime number and a is a positive integer that may or may not be a quadratic residue mod p. The Legendre symbol is a multiplicative function.

The Legendre symbol was introduced by Adrien-Marie Legendre in 1797 or 1798 in the course of his attempts at proving the law of quadratic reciprocity. Generalizations of the symbol include the Jacobi symbol and Dirichlet characters of higher order. The notational convenience of the Legendre symbol inspired introduction of several other "symbols" used in algebraic number theory, such as the Hilbert symbol and the Artin symbol.

Definition

Legendre's original definition was by means of the explicit formula

(ap)≡ap−12(modp) and (ap)∈{−1,0,1}.

By Euler's criterion, which had been discovered earlier and was known to Legendre, these two definitions are equivalent. Thus Legendre's contribution lay in introducing a convenient notation that recorded whether a is a residue or a non-residue modulo p. Gauss' original notation used aRp for (ap)=1 and aNp for (ap)=−1. For typographical convenience, the Legendre symbol is sometimes written as (a | p) or (a/p). For fixed p, the sequence (0p),(1p),(2p),… is periodic with period p and is sometimes called the Legendre sequence (see above table).

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Number theory