Number Theory
Explore the properties of whole numbers. Sieve out the primes, step through the Euclidean algorithm, and see modular arithmetic as a clock.
Key concepts
Primes
Numbers greater than 1 whose only divisors are 1 and themselves, the building blocks of every integer
Divisibility
When one integer divides another exactly, and how to find common divisors
Modular Arithmetic
Arithmetic that wraps around after reaching a modulus, like the hours on a clock
Applications
Cryptography, hashing and checksums all rely on number theory
Visualizations
Sieve of Eratosthenes
BeginnerFind every prime up to n by crossing out multiples step by step
PrimesMultiplesSieve
Open Euclidean Algorithm
BeginnerCompute the GCD with repeated division, shown as tiling a rectangle with squares
GCDLCMDivision Algorithm
Open Modular Arithmetic
IntermediateVisualize addition and multiplication mod n on a clock and as times-table patterns
CongruenceRemaindersClock Arithmetic
Open