Learn/Number Theory/Legendre Symbol
Number Theory • Topic 25

Legendre Symbol

The Legendre Symbol is a concise notation used to determine if an integer is a quadratic residue modulo an odd prime . It transforms questions about quadratic equations into arithmetic calculations.

Definition

Definition (Legendre Symbol)
For an integer and an odd prime , the Legendre Symbol is defined as:
  • : if is a quadratic residue modulo and .
  • : if is a quadratic non-residue modulo .
  • : if .

Key Properties

1. Multiplicativity

The Legendre symbol is completely multiplicative:
  • This means the product of two residues is a residue ().
  • The product of two non-residues is a residue ().
  • The product of a residue and a non-residue is a non-residue ().

2. Periodicity

If , then:

3. The Square Factor

Practice Problems

Exercise (Problem 1)
Compute using multiplicativity and periodicity.
Exercise (Problem 2)
Evaluate for and .
Exercise (Problem 3)
Prove that . (Hint: There are equal numbers of residues and non-residues).