Euler’s Theorem and Fermat’s Little Theorem
Context: FIT1058_MOC · for coprime · prime case · lets exponents be reduced mod
Quick Revision
- 🎯 Objective: ➔ FLT is the prime case .
- 📦 Core Components: Euler ➔ FLT (prime) ➔ reduce exponents mod .
- ⚡ Key Constraint: requires coprimality; the practical payoff is shrinking exponents in Modular Exponentiation.
📝 Core
1. The Theorems
- Euler ➔ .
- FLT ➔ prime case : (using ).
- Relationship ➔ FLT is Euler at a prime modulus.
2. Why It Holds
- is a group ➔ closed, associative, identity 1, inverses.
- Group fact ➔ any element = identity ⟹ .
3. Exponent Reduction
- Rule ➔ (for ).
- Examples ➔ ; .
Key identities:
⚖️ Core Decision Matrix
| Theorem | Modulus | Exponent | Condition |
|---|---|---|---|
| Euler | any | ||
| FLT | prime | ||
| exponent rule |
When It Flips: the theorem shrinks the exponent in Modular Exponentiation from to , often turning a huge power into a small one — the algebra behind RSA and key-exchange correctness.
📊 Exam Execution Trace
Manual Execution Trace
:
| Step / State | Quantity | Value |
|---|---|---|
| 0 (Init) | — | — |
| 1 | 6 | |
| 2 | 4 | |
| 3 | 4 |
⚠️ Common Mistakes
- 💡 Coprimality required ➔ without the powers never reach 1 (they get stuck — see Primitive Root).
🧠 Active Recall
State Euler's theorem and FLT, and how one specialises to the other.
- Hint: Group size exponent.
Answer
- Short answer: Euler: (); FLT: ( prime) — Euler at .
- Why: group ➔ any element to the group size () is the identity.
Use the theorem to simplify and give the general exponent rule.
- Hint: Reduce exponent mod .
Answer
- Short answer: , so ; generally .
- Why: Workhorse ➔ replaces a large exponent by a small residue in Modular Exponentiation.