Learn/Number Theory/Euler's Theorem
Number Theory • Topic 19

Euler's Theorem

Euler's Theorem generalizes Fermat's Little Theorem to composite moduli using the totient function .

Statement

Theorem (Euler's Theorem)
If , then:

Proof Idea

Let be a reduced residue system modulo . Multiply each element by to get . Since , is just a permutation of modulo . Product of Product of :
Since , we can cancel to get .

Power Tower (Tetration)

To compute :
  1. Reduce the base modulo .
  2. Reduce the exponent modulo .
  • To do this, reduce modulo , and so on.

Practice Problems

Exercise (Problem 1)
Find the last two digits of .
Exercise (Problem 2)
Solve .
Exercise (Problem 3)
Compute the remainder when is divided by 23.