Number Theory

Divisibility, congruences, and the theorems of Fermat and Euler.

  1. Divisibility

    Divisors, GCD and LCM, linear Diophantine equations, the Euclidean algorithm, primes and the p-adic valuation.

  2. Congruence

    Congruences and their arithmetic, divisibility tests, binary conversion, multiplicative inverses, linear congruences and the Chinese Remainder Theorem.

  3. Fermat's Little Theorem

    Complete and reduced residue systems, the multiplicative order, and Fermat's Little Theorem with its applications.

  4. Euler's Theorem

    Euler's phi function, Euler's Theorem, repeating decimals, last two digits with the Chinese Remainder Theorem, and power towers.