Solution

ID: past-exam-of-the-options-ii-course-of-the-university-of-oxford/2009/c/c2/iv/solution

For , the least positive residues in Gauss lemma for quadratic residues are simply . The number exceeding is
For , respectively, this count is even, odd, odd, even. Substituting these parities into the lemma gives

New to topics? Read the docs here!