Log in Sign up
Back to Discover
🔢

Collatz conjecture

math Maturity 7-9

Pick a number. If it is even, cut it in half. If it is odd, make it three times bigger and add one. Do this again and again. Will you always reach one?

Collatz Gif.gif
Collatz Gif.gif
It is a big mystery. Can you try it?
Collatz-tree, depth=20.svg
Collatz-tree, depth=20.svg

46 words

Pick any number. If it is even, cut it in half. If it is odd, triple it and add one.

Collatz Gif.gif
Collatz Gif.gif
Do this over and over. The numbers go up and down like hailstones in a cloud.
Collatz-tree, depth=20.svg
Collatz-tree, depth=20.svg
Most people think you will always reach one. This is a famous mystery. No one has proven it yet. It is a very hard puzzle for math experts.
Collatz-stopping-time.svg
Collatz-stopping-time.svg
Even smart people say math may not be ready for it.

80 words

Pick any positive whole number. If it is even, cut it in half. If it is odd, triple it and add one.

Collatz Gif.gif
Collatz Gif.gif
Repeat these steps with your new number. The numbers go up and down. They act like hailstones in a storm cloud.
Collatz-tree, depth=20.svg
Collatz-tree, depth=20.svg
Because of this, some call them hailstone numbers.

Lothar Collatz shared this idea in 1937. He wondered if every number would eventually reach 1. This idea is called the Collatz conjecture.

Collatz-stopping-time.svg
Collatz-stopping-time.svg
So far, every number we have tested hits 1. Computers have checked numbers up to a very large amount. Still, no one has a real proof. A proof is a way to show it is always true.

Some math experts think it is too hard. They say math might not be ready for it. A number might go up forever. Or it might get stuck in a loop. No one has found such a number yet. Solving this puzzle could lead to new ways of thinking about math.

167 words

Imagine a game played with any whole number you can think of. The rules are very simple to follow. If your number is even, you must cut it in half. If your number is odd, you triple it and then add one.

Collatz Gif.gif
Collatz Gif.gif
You take your new number and apply the same rules again. This creates a sequence of numbers that can jump up and down. Because they rise and fall like ice in a storm cloud, people call them hailstone numbers.
Collatz-tree, depth=20.svg
Collatz-tree, depth=20.svg
Most people wonder if this path always ends in the same place.

This mathematical puzzle is known as the Collatz conjecture. The idea is that every single positive integer will eventually reach the number 1.

Collatz-stopping-time.svg
Collatz-stopping-time.svg
Some numbers reach 1 very quickly. For example, the number 8 goes to 4, then 2, then 1. Other numbers take a much longer journey. The number 27 is quite famous for its long path. It takes 111 steps to reach 1, and it climbs as high as 9232 along the way.
Collatz5.svg
Collatz5.svg
Even though the paths look messy, they all seem to lead home.

A mathematician named Lothar Collatz introduced this idea in 1937. He shared it just two years after he earned his doctorate.

Collatz-10Million.png
Collatz-10Million.png
Since then, the problem has become one of the most famous unsolved mysteries in math. It is so difficult that some experts have made big statements about it. Paul Erdős once said that mathematics might not be ready for such problems. In 2010, Jeffrey Lagarias called it an extraordinarily difficult problem. It is currently considered to be out of the reach of modern math.

Computers have helped us test many numbers to see if the rule holds.

CollatzStatistic1billion.png
CollatzStatistic1billion.png
So far, every number tested up to 2 to the 71st power eventually hits 1. This is a huge amount of testing, but it is not a formal proof. A proof must show the rule works for every number that could ever exist. A number might fail the rule if it grows forever without stopping. It could also fail if it gets stuck in a loop that never touches 1. No such numbers have been found yet by any scientist.

Even without a final answer, working on this problem helps us learn.

Collatz Fractal.jpg
Collatz Fractal.jpg
Trying to solve the conjecture has led to new mathematical techniques. In 2019, a mathematician named Terence Tao shared a significant new result. He showed that almost all sequences eventually drop below their starting point. While this is not a complete proof, it is a very big step forward. Math is a way of finding patterns in the world. The Collatz conjecture shows us how a simple pattern can hide a deep mystery.

453 words

The Collatz conjecture is one of the most famous unsolved problems in mathematics. It asks a simple question about how numbers behave when you apply specific arithmetic rules. The conjecture suggests that if you start with any positive integer, a specific sequence of operations will always eventually reach the number 1.

Collatz Gif.gif
Collatz Gif.gif
This sequence is often called a hailstone sequence. This name comes from the way the values rise and fall like hailstones in a storm cloud. Despite its simple rules, the problem remains a deep mystery that modern mathematics cannot yet solve.

To understand the mechanism, you must follow a specific set of instructions. Start with any positive integer. If the number is even, the next term in your sequence is found by dividing it by two. If the number is odd, the next term is found by multiplying the number by three and then adding one.

Collatz5.svg
Collatz5.svg
You then take that result and apply the same rules again. This process repeats, creating a chain of numbers. You can also use a shortcut version of this function. In the shortcut, you multiply an odd number by three and add one, then immediately divide by two. This works because multiplying an odd number by three and adding one always results in an even number.
Collatz-tree, depth=20.svg
Collatz-tree, depth=20.svg

Mathematicians track how long these sequences last using two different terms. The stopping time is the smallest number of steps required for a value to fall below its starting value. The total stopping time is the number of steps required to reach exactly 1.

Collatz-stopping-time.svg
Collatz-stopping-time.svg
If the conjecture is false, a sequence would either increase without bound or enter a repeating cycle that never includes the number 1. A cycle is a set of distinct numbers that repeat the same pattern indefinitely. So far, the only known cycle is the trivial cycle involving the numbers 4, 2, and 1.

History shows that this puzzle emerged in 1937. A mathematician named Lothar Collatz introduced the idea just two years after receiving his doctorate.

Collatz-10Million.png
Collatz-10Million.png
Since then, the problem has challenged many great minds. The famous mathematician Paul Erdős once remarked that mathematics might not be ready for such problems. In 2010, Jeffrey Lagarias described it as an extraordinarily difficult problem that is completely out of reach for present-day mathematics. Even though it remains unsolved, the effort to crack it has created many new mathematical techniques.

We can use computers to look for evidence that the conjecture is true. Scientists have tested all starting values up to approximately 2 to the 71st power.

CollatzStatistic1billion.png
CollatzStatistic1billion.png
Every single one of these massive numbers eventually reaches 1. However, computer testing is not a formal proof. A proof must cover every possible number, including those that are too large for any computer to reach. A number could still exist that grows forever or enters a different loop. For example, the number 27 is a notable case. It takes 111 steps to reach 1 and climbs as high as 9232 during its journey.

Researchers have made significant progress in understanding the behavior of these sequences. In 2019, Terence Tao published a major result using logarithmic density. He showed that almost all Collatz orbits descend below any given function of the starting point, provided that function grows to infinity. This means that for almost all numbers, the sequence will eventually drop below its starting value.

Collatz-tree, depth=20.svg
Collatz-tree, depth=20.svg
Other researchers have studied the potential for cycles. For instance, mathematicians have proven that there are no "1-cycles" or "2-cycles" other than the trivial one. They have even ruled out many more complex types of cycles through exhaustive searches.

This problem connects to many different areas of mathematical study. One way to view it is through the Collatz graph. This is a graph built by looking at the process in reverse. Instead of starting at a number and going to 1, you start at 1 and work backward to see which numbers lead there.

Collatz-tree, depth=20.svg
Collatz-tree, depth=20.svg
This inverse relation is conjectured to form a tree structure for all positive integers. The problem can also be studied using binary code. In base two, the operations of the Collatz function can be viewed as a machine handling strings of bits. This shows how a simple arithmetic rule can connect to complex patterns in computer science and number theory.

722 words
🖼️ Images & Media (11)
File:Collatz-graph-50-no27.svg
Collatz-graph-50-no27.svg
File:Collatz-stopping-time.svg
Collatz-stopping-time.svg
File:CollatzStatistic100million.png
CollatzStatistic100million.png
File:CollatzStatistic1billion.png
CollatzStatistic1billion.png
File:Collatz-10Million.png
Collatz-10Million.png
File:Collatz Gif.gif
Collatz Gif.gif
File:Collatz5.svg
Collatz5.svg
File:Collatz-tree, depth=20.svg
Collatz-tree, depth=20.svg
File:Collatz Cobweb.svg
Collatz Cobweb.svg
File:Collatz Fractal.jpg
Collatz Fractal.jpg
File:Exponential Collatz Fractal.jpg
Exponential Collatz Fractal.jpg
Up Next
🔢
Riemann hypothesis
Math
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.