Collatz Conjecture Calculator
Compute the hailstone (Collatz, 3n+1) sequence for any starting integer, including step count and peak value.
Collatz Conjecture (3n+1) Mathematics
Collatz conjecture calculator computes the hailstone (3n+1) sequence for any starting integer, showing the step count and peak value.
Starting from any positive integer, repeatedly halve it if even, or multiply by 3 and add 1 if odd. The (unproven) Collatz conjecture claims this sequence always eventually reaches 1, for every starting number.
- 1Enter a starting positive integer.
- 2View the full hailstone sequence, the number of steps to reach 1, and the peak value reached along the way.
Compute the Collatz sequence starting from 27, a classic example known for its long, high-flying trajectory.
Frequently Asked Questions (FAQ)
Also called the 3n+1 problem or hailstone sequence: for any positive integer, repeatedly apply "halve if even, triple-and-add-1 if odd," and the conjecture claims you always eventually reach 1.
27 takes 111 steps to reach 1 and climbs as high as 9,232 along the way β an unusually long and dramatic trajectory for such a small starting number, making it a popular illustrative example.
Top Similar Tools (Math)
Explore more tools in Math (83+ more calculators available)
Browse our complete directory with category filters, formulas, and verified engines.