proof of Euler-Fermat theorem using Lagrange’s theorem
Theorem.
Given , when , where is the Euler totient function.
Proof.
We will make use of Lagrange’s Theorem: Let be a finite group and let be a subgroup
of . Then the order of divides the order of .
Let and let be the multiplicative subgroup of generated by (so ). The fact that ensures that . Notice that the order of , is also the order of , i.e. the smallest natural number such that is the identity
in , i.e. . Also, recall that the order of is , where is the Euler function.
By Lagrange’s theorem , so for some . Thus:
as claimed.∎