Number Lab
Small machines for famous number facts. Each one does the arithmetic live in your browser, so you can poke at it, break it, and watch it work.
-
Kaprekar's constant
Sort, subtract, repeat. Unless its digits are all the same, every four-digit number lands on 6174 within seven rounds. Watch all 10,000 run at once.
-
Reverse and add
Write a number backwards, add, repeat until it reads the same both ways. 89 takes 24 steps. 196 has been taken to a billion digits without getting there. Watch your browser try.
-
Goldbach's conjecture
Every even number above 2 seems to be a sum of two primes. Fold the number line to find every way, then count them for all 49,999 even numbers from 4 to 100,000.
-
The golden angle
Drop a seed, turn, drop another. Most turns pile the seeds into arms; turn by the golden ratio and they pack evenly at every size. Drag the turn and watch the arms come and go.
-
Recamán's sequence
Jump back if you can, forward if you can't, and draw every jump as an arc. Look up when the walk first lands on your number, and watch it skip 1,355 for 10 million steps.
-
Perfect numbers
Lay a number's divisors end to end and see if they reach it exactly. Only 52 perfect numbers are known. Hunt for the Mersenne primes behind them, live in your browser.
-
Aliquot sequences
Add up a number's divisors, then do it again. Most numbers fall to 0 and a few loop forever, but nobody knows where 276 ends. Follow any start, or all of the first thousand at once.