WWikiTTheoremsEuler's theorem
Theorem·T62
A number coprime to n, raised to the totient of n, is congruent to 1 modulo n.
For
with
and
(coprime),
with
Euler's totient and the power from D119.
In words
If a is coprime to n, then a raised to the totient of n is congruent to 1 modulo n.
Never needed: F10 · A03 · A04 · A05 · A07 · A09 (computed from the citation graph, not asserted).
Proof
- 1
- 2By L36 applied to this finite group (an element raised to the group's order is the identity), , using the group power, with the identity.
- 3
∎
Remarks
Euler's theorem (1763). The proof is pure group theory: the units modulo
form a finite group of order
(T61), and raising any element to the group order returns the identity (L36). This is exactly the specialization anticipated in the notes of L36. It generalizes Fermat's little theorem (the case
prime, where
) and is the arithmetic behind RSA, where decryption works because
whenever
. Example:
and
, so
.