Paper 4, Section II, F

Number Theory
Part II, 2014

Define the Legendre and Jacobi symbols.

State the law of quadratic reciprocity for the Legendre symbol.

State the law of quadratic reciprocity for the Jacobi symbol, and deduce it from the corresponding result for the Legendre symbol.

Let pp be a prime with p1(mod4)p \equiv 1(\bmod 4). Prove that the sum of the quadratic residues in the set {1,2,,p1}\{1,2, \ldots, p-1\} is equal to the sum of the quadratic non-residues in this set.

For which primes pp is 7 a quadratic residue?