Collatz Conjecture Calculator
The Collatz Conjecture (3n + 1)
The Collatz Conjecture is an unsolved problem in mathematics. It states that if you pick any positive integer and follow two simple rules, you will always eventually reach the number 1.
The Rules:
- If the number is even, divide it by 2.
- If the number is odd, multiply it by 3 and add 1.
The sequence of numbers generated is often called a hailstone sequence because the values tend to go up and down, like hailstones in a cloud, before eventually falling to 1.
Example (starting with 6): 6 → 3 → 10 → 5 → 16 → 8 → 4 → 2 → 1
Disclaimer: This calculator is for educational purposes. For very large numbers, the sequence can become extremely long and may take significant time to compute.
Powered by: Calco
Generates the hailstone sequence for any positive integer.
Powered by: Calco
