Why does every whole number break into primes in exactly one way?
Number theory 101 · about 12 minutes a level
The arithmetic of whole numbers: factors and primes, remainders and clock arithmetic, digits and bases, whole-number equations, and the classic theorems of Fermat, Euler and the Chinese remainder theorem. Each idea is built from small examples and then used on contest-style problems.
Go deeper, level by level
- Factors, multiples and primes: Factors and multiples: what divides what, Prime factorisation: every number's fingerprint, How many divisors? Counting them from the primes, Greatest common divisors and least common multiples
- Remainders: Division with remainder, Clock arithmetic: working modulo n, Why divisibility rules work, Last digits and cycles of powers
- Digits and bases: Place value: what digits really mean, Other bases: binary and beyond, Digit puzzles and digit sums
- Solving equations in whole numbers: The Euclidean algorithm, Whole-number solutions to ax + by = c, Bezout's identity and modular inverses, Factoring to find whole-number solutions
- Theorems with power: Fermat's little theorem, Euler's totient and Euler's theorem, The Chinese remainder theorem, Squares and the remainders they leave, Repeating decimals and why they repeat
- Contest number theory: Odd and even: parity arguments, Floors, factorials and Legendre's formula, Number theory workshop: choosing the right tool
Every lesson shows its sources and how sure we are, and is checked by Everwhy.