Solution

ID: past-exam-of-the-probability-statistics-and-options-ii-course-of-the-university-of-oxford/2011/c/c2/a/ii/solution

Euler's criterion states that, for an odd prime and ,
Thus this power is congruent to one for a nonzero square and to minus one for a nonsquare. The congruence also holds when if both sides are taken to be zero.

New to topics? Read the docs here!