Legendre symbol

From Number
Revision as of 22:21, 29 May 2010 by Vipul (talk | contribs) (Created page with '==Definition== Suppose <math>p</math> is a prime number and <math>a</math> is an integer. The '''Legendre symbol''' of <math>a</math> modulo <math>p</math>, denoted <math>\l…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Definition

Suppose p is a prime number and a is an integer. The Legendre symbol of a modulo p, denoted (ap) is defined to be:

  1. 0 if p divides a.
  2. 1 if a is a quadratic residue modulo p, i.e., p does not divide a and x2a(modp) has an integer solution for x.
  3. 1 if a is a quadratic nonresidue modulo p, i.e., p does not divide a and x2a(modp) has no integer solution for x.

The Legendre symbol makes sense only relative to a prime number, but it has a generalization called the Jacobi symbol which allows the modulus to be any integer. Thus, the Legendre symbol can also be defined as the restriction of the Jacobi symbol to cases where the modulus is prime.

The Legendre symbol is also a special case of a Dirichlet character modulo p.

Facts

  • The Legendre symbol is multiplicative in its top portion if the prime is fixed. In other words:

(a1a2p)=(a1p)(a2p)