Solution

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

Because the primes are distinct, Fermat's little theorem gives and . The other term in each modulus vanishes. Therefore
The distinct primes are coprime, so their product divides this integer. Hence

New to topics? Read the docs here!