Euler's Theorem
If gcd(a,n)=1 then a^{φ(n)} ≡ 1 (mod n).
Euler's theorem. Let and . If the greatest common divisor of and is , then
where Euler's totient function is
Here means that divides .
Remarks
This follows from Lagrange's theorem applied to the group of units , whose order is . The case in which is prime is Fermat's little theorem.
Examples
- For and , and .
- The coprimality hypothesis is essential: .