The Collatz conjecture, also known as the 3n+1 conjecture, is a simple but unsolved problem in mathematics. It starts with any positive integer, and then repeatedly applies the following rules:
The conjecture states that, no matter what positive integer you start with, if you keep applying these rules, you will eventually reach the number 1. Once you reach 1, the process stops.
For example, if you start with 6:
And now, you've reached 1, and the process stops. The conjecture suggests that this pattern will always lead to 1, regardless of the initial number chosen.
Despite its simplicity, the Collatz conjecture remains an open question in mathematics, and it's unknown whether it holds true for all positive integers. It has fascinated mathematicians for many years, and it's considered one of the most famous unsolved problems in the field.
Here is a calculator that tells you how many steps it takes for the number to reach 1 via Collatz Conjection