What this is
Take any whole number. If it is even, halve it. If it is odd, triple it and add one. Do the same to the result, and keep going. Lothar Collatz asked in the 1930s whether every starting number ends at 1. Try 27: it climbs as high as 9,232 before it comes down, 111 steps later.
This page picks thousands of starting numbers at random below ten million and computes each road down to 1 in your browser. Roads that reach the same number travel together from there, so they merge into one tree with 1 at its root. The tree is then drawn outward from the root. A step to an even number turns the line one way; a step to an odd number turns it back the other way, and twists it a little out of the plane. Each step is shorter the larger the number. A line is thicker and warmer the more roads share it: hair-fine where a single number passes, a blazing trunk near 1, where every number passes.
n even → n / 2 n odd → 3n + 1 step = 1 / ln n length of the line arriving at n weight = log₁₀(roads through n) thickness and colour
Where AI came in
It has not solved this one. The Collatz conjecture is open, and it is on this page because it is the kind of pattern machines are now being pointed at, and because its shape rewards being seen.
What machines have done so far is of three kinds. Plain computation has checked every starting number up to 271, about two thousand billion billion, without finding one that fails (David Barina, 2025). Automated provers have been set on it: in 2021 Emre Yolcu, Scott Aaronson and Marijn Heule turned the conjecture into a question about rewriting strings of symbols, and their program found proofs of weaker versions of it, though, in their words, not of the conjecture itself (their paper). And neural networks have been trained on it: in 2025 François Charton and Ashvni Narayanan taught transformers to predict long stretches of Collatz roads, with close to perfect accuracy in some number bases and poor accuracy in others, a study of how such models learn arithmetic more than of the problem (their paper).
The best human result remains Terence Tao’s, from 2019: almost all starting numbers eventually fall almost as low as one likes (published in 2022). In July 2026 a machine-checked “disproof” written with AI assistance circulated for a few days; it turned out to rest on a bug in the Lean proof checker, found and fixed within the week. The conjecture came through untouched.
What it does not show
The branching is Collatz’s; the shape is a choice. The turning angles (8.65° and 16° by default, the values of the well-known two-dimensional drawings), the twist, the step length and the colours are a drawing rule, which the sliders let you change, and they carry no mathematical meaning. The starting numbers are a random sample from a seeded generator, not all numbers below ten million, so “longest road” means longest in this sample. The picture shows that these roads reach 1. It says nothing about the numbers nobody has tried.