Exercise 1138Number theory › PrimesL1Added 3 Nov 2026
Order modulo a prime
#order#prime#divisor
Statement
Let be prime and coprime to . Show that the order of mod divides .
Hint
Fermat: . Use the division of by the order.
Show solutionHide solution
Solution
Setup. Let and write with .
Compute. .
Minimality. By minimality of , , so .
Conclusion. The order of any element of divides .