Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/ii/paper-4/11g/a/solution
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 11G a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
The Fermat-Euler theorem states thatIndeed, if are the reduced residue classes modulo , multiplication by permutes them. ThereforeThe product is invertible modulo , so cancellation gives the theorem.
Now let be prime. If , then for , Fermat little theorem gives , while makes . Thus for every integer .
Conversely, assume this congruence holds for every . Choose a primitive root modulo . Then . Since has order , one has . Hence
New to topics? Read the docs here!