Solution

ID: past-exam-of-the-options-i-course-of-the-university-of-oxford/2010/c/c1/iii/solution

Write . If , the claimed identity has both sides zero. Otherwise let . Applying the Euler criterion gives
Both sides are in , which are distinct residue classes because is odd. Therefore the modular congruence is an equality:

New to topics? Read the docs here!