Visualize the building blocks of arithmetic
Watch the ancient algorithm discover primes by eliminating multiples.
Decompose any integer into its prime factors.
Test whether a number is prime using trial division. Shows divisibility details.
Twin primes are pairs (p, p+2) where both are prime. Find all twin primes up to a limit.
Arrange natural numbers in a spiral and highlight the primes. Discovered by Stanislaw Ulam in 1963, the surprising diagonal patterns remain unexplained.
The prime counting function π(n) gives the number of primes less than or equal to n. Compare with the approximation n/ln(n) from the Prime Number Theorem.