Exercise 1997Number theory › CongruencesOlympiadAdded 5 Nov 2026
n divides φ(aⁿ − 1)
#order#Euler's theorem#totient
Statement
Let and be integers. Prove that .
Hint
Let . Compute the order of modulo exactly.
Show solutionHide solution
Solution
Setup. Put . If then and , fine. Assume .
Coprimality. , so is invertible modulo .
The order is . . If , then , so , i.e. . Hence the order of modulo is exactly .
Euler. , so the order divides .
Check. , : , , ✓. , : , , ✓.
Lesson. To show , exhibit an element of order exactly modulo .