Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2009/ia/paper-4/2e/b/solution

The integer is prime: none of the primes below divides it. Since , Fermat's little theorem gives . Therefore is the modular inverse of . The extended Euclidean algorithm yields
and back-substitution gives . Consequently
Indeed, , directly checking the required modular inverse.

New to topics? Read the docs here!