Euler's Theorem
1. What It Is (beginner — Fermat grown up!)
Fermat needs PRIME modulus. Euler works for ANY , using = count of numbers coprime to . If :
Fermat is the special case: !
2. Totient Table (exam must-compute!)
| Coprime set | ||
|---|---|---|
| prime | 1..p-1 | |
| (distinct primes) | all minus multiples | |
| all minus multiples of |
Example RSA: , → , !
3. Worked (exam numerical!)
3¹⁰ mod 10? gcd(3,10)=1, φ(10)=4 → 3⁴ ≡ 1 → 3¹⁰ = 3⁸×3² ≡ 1×9 ≡ 9 mod 10!
verify: 3²=9, 3⁴=81≡1 ✓
4. Why Crypto Cares
- RSA correctness: encryption exponent + decryption with mod → mod (Euler guarantees round-trip!).
- Exponent reduction mod (fast big powers!).
5. Exam Points
- State + + verify ( mod ) — 5-7 marks, very frequent.
- Fermat as special case — 3 marks, favourite link.
- RSA computation — 3 marks, frequent.