logo

Euler's Totient Theorem Proof 📂Number Theory

Euler's Totient Theorem Proof

Theorem 1

gcd(a,m)=1    aϕ(m)1(modm) \gcd(a,m) = 1 \implies a^{ \phi (m) } \equiv 1 \pmod{m}

Description

One can immediately recognize that this theorem generalizes Fermat’s Little Theorem, and indeed, the proof is almost identical.

Proof

By the definition of the Euler’s totient function, there exactly ϕ(m)\phi (m) occurrences of bib_{i} satisfying gcd(bi,m)=1\gcd( b_{i} , m) =1 among 1bim1 \le b_{i} \le m. Let’s call this set B:={b1,b2,,bϕ(m)} B:= \left\{ b_{1}, b_{2}, \cdots , b_{\phi (m)} \right\} Then, since gcd(a,m)=1\gcd(a,m) = 1, aB={ab1,ab2,,abϕ(m)} aB = \left\{ ab_{1}, ab_{2}, \cdots , ab_{\phi (m)} \right\} becomes exactly the same set. Therefore, b1b2bϕ(m)ab1ab2abϕ(m)(modm) b_{1} b_{2} \cdots b_{\phi (m)} \equiv ab_{1} ab_{2} \cdots ab_{\phi (m)} \pmod{m} by grouping aa on the right side, we have b1b2bϕ(m)aϕ(m)b1b2bϕ(m)(modm) b_{1} b_{2} \cdots b_{\phi (m)} \equiv a^{\phi (m)} b_{1} b_{2} \cdots b_{\phi (m)} \pmod{m} By canceling both sides with gcd(b1b2bϕ(m),m)=1\gcd( b_{1} b_{2} \cdots b_{\phi (m)} , m ) =1, we obtain the following. aϕ(m)1(modm) a^{ \phi (m) } \equiv 1 \pmod{m}


  1. Silverman. (2012). A Friendly Introduction to Number Theory (4th Edition): p72. ↩︎