Distribution of quadratic residues

1 · John Cook · July 12, 2019, 12:16 p.m.
Let p be an odd prime number. If the equation x² = n mod p has a solution then n is a square mod p, or in classical terminology, n is a quadratic residue mod p. Half of the numbers between 0 and p are quadratic residues and half are not. The residues are distributed […]...