Paper 2, Section I, G

Number Theory
Part II, 2018

Define the Legendre symbol, and state Gauss's lemma. Show that if pp is an odd prime, then

(2p)=(1)(p21)/8\left(\frac{2}{p}\right)=(-1)^{\left(p^{2}-1\right) / 8}

Use the law of quadratic reciprocity to compute (105149)\left(\frac{105}{149}\right).