Field card

File: collatz.html Pattern: a dumb local rule with a global behaviour no argument can pin down — emergence in time, shown as a path coloured by which rule fired (blue = halving, red = 3n+1). Colour is the notation: the orbit is mostly blue descents punctuated by red spikes, so you see why gravity tends to win. Companions: busy-beaver.html (uncomputable halting), langtons-ant.html (sudden order); the emergence vein of the Truchet series.

The brief that produced it

Collatz, the studio way. One idea: even → n/2, odd → 3n+1, repeat — every number seems to crash to 1, but no one can prove it. Draw one number's orbit; let the reader drag the start and watch it reshape; colour the path by the rule that fired so the up/down tug is visible. Four honest colours, real numbers, and say plainly that it's unproven.

Source of truth

  • The orbit is computed live. The headline numbers were verified by simulation before framing: 27 → 111 steps, peak 9,232; its neighbour 26 → 10 steps; 6171 → 261 steps, peak 975,400. The widget's own readout reproduces these (it opens on 27).

  • The vertical axis is log scale (peaks reach ~10⁶), labelled honestly with powers of ten — a linear axis would be a lie about the range.

Honesty check

Collatz is a conjecture, not a theorem — and the widget says so. It has been checked by computer for every start below ~2⁶⁸ with no exception, but that is evidence, not proof, and the caption + thread-back keep that line bright. The "always falls to 1" in the caption is hedged to "always seems to". The up/down counts in the readout ("41 ups, 70 downs") are the honest reason the orbits tend to shrink — the average step multiplies by ¾ — without pretending that heuristic is a proof.

Design choices worth keeping

  • Colour as the mechanism, not decoration. Each segment is blue for a halving, red for a 3n+1. The eye reads the structure directly: long blue glides, sharp red kicks, and a marked peak.

  • Drag-to-understand. Sliding the start morphs the orbit continuously; the famous neighbour-shock (26 is 10 steps, 27 is 111 and climbs to 9,232) is something you feel by nudging one.

  • Opens on a meaningful default (27 — the dramatic one), never a blank.

  • Accessible by construction: sr-only telling of the rule and the open status; keyboard parity (arrows nudge the start, ±10 on up/down); the readout states the steps/peak in words.

  • Thread-back: "why has no one proved this?" opens the pseudo-randomness heuristic, the undecidability of generalised Collatz maps, and what a disproof would need (a divergent orbit or a second cycle).

What it teaches the studio

The Busy Beaver shows a computable but unknowable-in-practice number; Collatz shows the rawer thing — a rule a child can follow whose every-case behaviour is simply open. Same studio spine: the figure carries the argument (you watch the orbit fall), the colour is the explanation (down beats up), and the one claim that could be overstated — "it always halts" — is the one the card refuses to assert.