← Iris

Starting number 27
Steps to 1 111
Max value 9232
Total stopping time 111
Start
Animation speed Medium

The conjecture

The Collatz conjecture, also known as the 3n+1 problem, states that for any positive integer, repeatedly applying the rule — halve if even, triple-and-add-one if odd — will eventually reach 1. First proposed by Lothar Collatz in 1937, it remains unproven despite extensive computational verification.

Hailstone sequences

The sequence of values is called a hailstone sequence because values rise and fall erratically, like hailstones in a thundercloud, before eventually crashing down to 1. The number 27, for instance, takes 111 steps and reaches a peak of 9232 before descending.

The tree view

The Collatz tree shows how all numbers converge toward 1. Every number has exactly one successor (its Collatz step), but each number can have multiple predecessors. The tree reveals the branching structure of the conjecture — a river system flowing toward a single ocean.