Euler’s theorem for abelian groups
For abelian groups, that is, groups where addition is commutative, that is, for any pair , we have the following theorem due to Euler:
Theorem: Let be an abelian group with elements. Then
for any .
Proof: Label the distinct elements of as . Since multiplication by any element is invertible, we have whenever . So the set contains the same elements as . So the products and must be the same as well. Moreover, the same product can be written as . So we have
It follows that .
As a corollary, we can now easily prove Fermat’s little theorem, which is often used in number theory:
Corollary: Let be a prime, and be a nonzero integer. For any that does not divide
Proof: The integers form a commutative group of order under multiplication modulo .