Euler Totient Function

Context: FIT1058_MOC Β· count of integers in coprime to Β· Β· multiplicative, computed from the prime factorisation

Quick Revision

  • 🎯 Objective: counts integers in coprime to βž” , the invertible elements.
  • πŸ“¦ Core Components: βž” βž” multiplicative.
  • ⚑ Key Constraint: easy with the factorisation, as hard as factoring without it.

πŸ“ Core

1. The Function

  • Definition βž” .
  • Meaning βž” the count of elements of with a Modular Inverse.
  • Examples βž” (), .

2. The Three Rules

  • Primes βž” (max, attained iff prime).
  • Prime powers βž” .
  • Multiplicative βž” (, RSA).

3. Product Formula

  • From factorisation βž” over distinct primes.

Key identities:

βš–οΈ Core Decision Matrix

Note
prime maximum
prime power
(distinct)RSA
generalfrom factorisation

When It Flips: is the size of the multiplicative group β€” the exponent in Euler's theorem and the order of a generator. Easy given the factorisation, hard without β€” the asymmetry RSA rests on.

πŸ“Š Exam Execution Trace

Manual Execution Trace

, :

Step / StatePrime power
0 (Init)β€”β€”
1
2
3

⚠️ Common Mistakes

  • πŸ’‘ β€œMultiplicative” needs coprimality βž” only when , not for all ; the product ranges over distinct primes.

🧠 Active Recall