Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ia/paper-4/6e/d/solution

The class of is
so its size is Euler's totient function
The unit group acts freely on every pair in : if and , multiplying the Bezout identity by gives . Hence every equivalence class has size . Dividing the answer from part (a) by this size gives

New to topics? Read the docs here!