Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Number Theory / Modular arithmetic

Fermat, Euler and the Chinese Remainder Theorem

Three classical theorems that make modular exponentiation predictable and modular systems solvable.

3 min read · 2 sections · 2 checks

Contents 3 sections
  1. §1Fermat and Euler
  2. §2The Chinese Remainder Theorem
  3. ?Check yourself

By the end you can

  • Apply Fermat’s little theorem and Euler’s theorem
  • Compute Euler’s totient function
  • Solve simultaneous congruences

Helps to know: Modular Arithmetic

§1Fermat and Euler

§2The Chinese Remainder Theorem

A third-century puzzle asks for a number leaving remainder 2 when divided by 3, 3 when divided by 5, and 2 when divided by 7. The answer, 23, is unique modulo 3⋅5⋅7=1053 \cdot 5 \cdot 7 = 105.

Check yourself

  1. Q1
    φ(15)=\varphi(15) =
  2. Q2
    210 mod 11=2^{10} \bmod 11 =