Nine toys, most of them investigations small enough to hold in your hand. Each toy runs the real calculation in your browser, so every number it shows is measured on the spot, not copied from the notebook.
Toys · November 2026 · works on a phone
Each square holds 0 to 3 grains. When one reaches 4, it topples: it sends one grain to each neighbour, which may make them topple too. Grains that fall off the edge are gone. Tap a square to add a grain and watch the avalanche, let it rain, or pile ten thousand grains in the middle.
What to look for. Rain makes avalanches of every size, from one topple to thousands, with no typical size. The pile in the middle grows into the same intricate pattern every time, however it is dropped. And in the rain, the average height in the middle settles near 17/8 = 2.125, a number Priezzhev proved by counting spanning trees, which is what Investigation 11 checks.
Read Investigation 11: sandpiles, spanning trees and resistance →
These two drum skins have different shapes; you can’t turn or flip one onto the other. Your browser has just worked out every note each one can make, separately, on a grid of points inside each. The notes agree. Press play to hear both, one after the other.
| Note | Drum A (Hz) | Drum B (Hz) | Diff. |
|---|
What to try. Pick a pattern number to see how each drum vibrates on that note: different pictures, identical pitch. Then tap inside a drum to hit it there. The pitches never change, only how loudly each one rings, so the same spot on the two drums can sound different. That is the gap Investigation 42 found: you can hear the notes, not the shape.
Every line is a 1-ohm wire. A battery holds the + point at 1 volt and the − point at 0. Tap any point to release walkers from it: each one steps to a random neighbour until it lands on + or −. The share that reach + first is the voltage at that point.
The escape rule. A walker leaving + either reaches − or wanders back home first. The chance it gets away is exactly 1 ÷ (number of wires at + × resistance between + and −). The test button sends 20,000 walkers and compares. Cut a few wires to raise the resistance and watch the escape chance fall to match.
Read Investigation 48: a drunk walker is an electric circuit →
Read the digits aloud in runs: 1 is “one 1”, so write 11; that is “two 1s”, 21; then 1211, 111221, and so on. Conway proved the length grows by a fixed factor, 1.3035772690… Say the counts in another base and you get a different constant.
What to try. Base 2 heads for 1.4656, the root of x³ = x² + 1. Base 3 heads for the plastic number 1.3247, the root of x³ = x + 1, but wobbles for a long time on the way, because a second root nearly as big (1.2365) keeps tugging. Bases 4 and up give Conway’s constant exactly. Change the starting digits: in base 10, any start except 22 ends up at the same rate.
Take a number x between 0 and 1 and keep replacing it with r·x·(1−x). For each setting of the knob r (across the picture), the dots show where x ends up. One value, then two, four, eight… then chaos. Tap the picture to zoom in four times; every fork has smaller copies of the whole story inside it.
| n | rn | Gap | Gap ratio |
|---|
What to try. Watch the gap ratio in the table close in on 4.6692. Now switch the rule to a sine wave, a completely different formula. The forks land in different places, but the ratio heads for the same 4.6692. Feigenbaum found that any rule with one smooth hump does this; Investigation 52 finds it in a pendulum and the Mandelbrot set too.
Each square is a tiny magnet pointing up (coloured) or down (blank). Neighbours like to agree; heat makes them flip at random. Slide the temperature. Cold, one side wins and the whole sheet lines up. Hot, it is static. In between, at exactly 2 ÷ ln(1 + √2) = 2.269, it is neither, and islands of every size appear.
What to check. Below the tipping point, the readout compares how lined-up the sheet is with Onsager’s exact formula from 1949, (1 − sinh−4(2/T))1/8. That formula, and the tipping point itself, come from counting domino tilings of a decorated grid, which is the surprise in Investigation 46. Start from “All up” at a low temperature to see them agree.
Move the whole stack from the left peg to the right peg, one disk at a time, never a bigger disk on a smaller one. Tap a peg to lift its top disk, then tap another peg to drop it. Underneath, every position the puzzle can be in is a dot, and every legal move is a line between two dots. That map is Sierpinski’s triangle, and as you play, your dot walks across it.
What to look for. The fastest solution runs straight down one side of the triangle, 2n − 1 moves, and the disk it moves follows the ruler 1, 2, 1, 3, 1, 2, 1, 4 … Playing at random wanders all over the fractal instead; the average number of random moves is exactly (3n − 1)(5n − 3n) ÷ (2·3n−1), which Investigation 65 got by treating every line as a 1-ohm resistor. Then press Show Pascal’s triangle: the odd numbers in its first 2n rows land exactly on the dots.
Read Investigation 65: the Tower of Hanoi is secretly Pascal’s triangle →
Put some chips on the dots. Then I attack: I take one chip from any dot I like, even an empty one, which leaves it in debt. You pay the debt back by firing dots. A dot that fires sends one chip down each of its lines, and it may go into debt itself. Your pile wins if, whichever dot I pick, you can get every dot back to zero or more. The fewest chips that win is called the graph’s gonality. Can you find a pile that small?
What to check. On a curve, the theory of Brill and Noether says a typical one needs ⌊(g + 3)/2⌋ chips, where g is the number of independent loops (lines − dots + 1). Most graphs here need exactly that. Two beat it. The ladder needs only 2, because it folds in half like a hinge. The dodecahedron needs 6 where the theory says 7, the kind of shortfall Investigations 64 and 66 trace to coincidences in edge lengths and to folding the graph onto a tree. When you are stuck, “Pay it for me” runs Dhar’s burning test, which either finds the firings or proves there are none.
Read Investigation 25: Riemann–Roch on a graph →
Read Investigation 66: folding a graph onto a tree →
Type a number and pick a machine. Collatz: if it is even, halve it; if it is odd, triple it and add one; repeat. Every number anyone has tried ends at 1, and nobody can prove they all do. Kaprekar: sort the digits largest-first and smallest-first and subtract; repeat. Every four-digit number whose digits aren’t all the same ends at 6174.
What to try. In Collatz, 27 climbs to 9,232 before it falls, and its neighbour 28 is done in 18 steps. Paste in a 40-digit number: it still comes down. In Kaprekar, try three digits (everything ends at 495), then five and six. Five digits have no single ending: they fall into one of three loops. Six digits have two fixed points and a loop of seven. So 495 and 6174 are the lucky exceptions, not the rule. Press Count every start to see it for every number of that length.
Everything here is plain JavaScript running on your device; nothing is sent anywhere. The drums need sound on. Built for The Same Thing Twice.