Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Number Theory / Deeper structure

Quadratic Residues and Reciprocity

Which numbers are perfect squares modulo a prime, and Gauss’s “golden theorem” linking two primes.

3 min read · 1 sections · 1 checks

Contents 2 sections
  1. §1Squares mod p
  2. ?Check yourself

By the end you can

  • List quadratic residues modulo a small prime
  • Apply Euler’s criterion
  • State the law of quadratic reciprocity

Helps to know: Orders and Primitive Roots

§1Squares mod p

Modulo 1111 the squares are 1,4,9,5,31, 4, 9, 5, 3: exactly half of the nonzero residues. The Legendre symbol (ap)\left(\frac{a}{p}\right) is +1+1 for a residue and −1-1 for a non-residue.

Check yourself

  1. Q1
    Is −1-1 a square modulo 1313?