No. 023 · Collatz

This number climbs to 9,232 before falling to 1

27 takes 111 steps to reach 1 and peaks at 9,232. Every path up to 10,000 grows into seaweed.

EVEN: n/2 · ODD: 3n+1

Start at 27. If the number is even, halve it. If it's odd, triple it and add 1. Keep going.

27 → 82 → 41 → 124 → 62 → 31 → 94 → …

The climb

The video draws 27's path as a line graph. It wanders up and down, climbs to 9,232 at step 77, then falls and reaches 1 after 111 steps. A small starting number, a long trip. Up to 10,000, the longest trip belongs to 6,171:

StartSteps to 1Highest point
271119,232
6,171261975,400

The seaweed

Then the video turns every path into a picture. Each path from 1 to 10,000 is drawn backwards, starting at 1, as a line of equal steps that turns +0.135 radians on every even number and −0.27 radians on every odd one. Every path ends …8 → 4 → 2 → 1, and once two paths meet they stay together, so drawn backwards the 10,000 lines grow from one stem into a single plant. 27's path is drawn in gold among them.

Nobody knows why

The Collatz conjecture says every starting number eventually reaches 1. Computers have checked every start up to about 2⁶⁸, and none has escaped or looped. But nobody has proved it, and it has been open since Lothar Collatz posed it in 1937.

Part of Collatz: Halve it if even, triple it and add 1 if odd. Every number seems to reach 1.

Use this picture

SVGJPG

Free to reuse, also commercially, under CC BY 4.0. Credit “What Math Means” with a link to whatmathmeans.dev/v/27-climbs-to-9232.