Euler's theorem
Statement
If , then , where is Euler's totient function.
Why is it true?
This is exactly Fermat's argument with a general modulus : instead of all nonzero residues (which only form a closed multiplicative system when is prime), we restrict to the residues actually coprime to — the ones that have inverses — and the same shuffling argument applies to that smaller, closed set of size .
Proof sketch
Let be a reduced residue system modulo : representatives of every residue class coprime to .
Multiplication by permutes : for each , because and (a product is coprime to iff both factors are), so is again a member of the coprime residue classes; and the map is injective by the cancellation law, since .
An injective map from the finite set to itself (up to residue) is a bijection, so is just reordered.
Multiplying all elements of each set: . Since each is coprime to , so is their product , i.e. .
Cancel from both sides (valid since ) to get .
This is again Lagrange's theorem in disguise: the residues coprime to form a group of order under multiplication (the group of units ), and the order of any element divides .
Topics that use this theorem
Step-by-step proofs
No step-by-step proof yet for this theorem.
References
- Ronald L. Rivest, Adi Shamir, Leonard M. Adleman (1978). A Method for Obtaining Digital Signatures and Public-Key Cryptosystems · DOI:10.1145/359340.359342
- W. R. Alford, Andrew Granville, Carl Pomerance (1994). There are Infinitely Many Carmichael Numbers · DOI:10.2307/2118576