The Collatz conjecture: the simple maths problem nobody has been able to solve
Here's a rule a primary school child could follow:
- Pick any positive whole number.
- If it's even, divide it by 2.
- If it's odd, multiply by 3 and add 1.
- Repeat.
Try starting with 6: 6 → 3 → 10 → 5 → 16 → 8 → 4 → 2 → 1. Once you hit 1, you loop forever: 1 → 4 → 2 → 1.
The conjecture
The Collatz conjecture, proposed by Lothar Collatz in 1937, says that every starting number eventually reaches 1.
Why it's surprisingly wild
Some numbers take a wildly bumpy path. Start with 27, and the sequence takes more than a hundred steps and climbs past 9,000 before finally coming down to 1. The sequences are sometimes called "hailstone numbers" because they rise and fall like hailstones in a storm cloud.
What's known
- Computers have checked an enormous range of starting numbers, far beyond anything anyone could do by hand, and all reach 1.
- But checking examples is not a proof. There could, in principle, be a giant number that loops in a different cycle or grows forever.
- In 2019, Terence Tao proved that "almost all" numbers (in a precise statistical sense) eventually reach values much smaller than where they started. That's a major step, but not a full proof.
Why it's so hard
The rule mixes multiplication and division in a way that doesn't fit neatly into existing tools. The mathematician Paul Erdős is often quoted as saying mathematics may not be ready for such problems.
Over to you: Try a few starting numbers yourself. Which one gave you the longest path? Do you think it will be proved, or could it turn out to be unprovable?
Comments · 4
It has been checked by computer for numbers up to a huge size without finding a counterexample. But a check isn't a proof, which is why it remains a conjecture.
A great beginner coding exercise. Write a loop, count the steps, and plot them. The graphs look weirdly beautiful.
Why is it so hard to prove when the rule is so simple? Is it that the numbers behave unpredictably?
The multiplying and dividing steps interact in a way nobody has found a pattern for. It behaves a bit like random, but with a hidden structure, which is why it resists proof.