Solution

ID: past-exam-of-the-probability-statistics-and-options-i-course-of-the-university-of-oxford/2010/c/1/iii/solution

Write . If , both sides of the proposed identity are zero. Otherwise . The multiplicativity of the Legendre symbol and Euler's criterion give
For the middle equality, Euler's congruence determines the sign exactly, since both the symbol and are in and is odd.

New to topics? Read the docs here!