Hubs:
Top Tools:
Math β€’ Collatz Conjecture Calculator

Collatz Conjecture Calculator

Compute the hailstone (Collatz, 3n+1) sequence for any starting integer, including step count and peak value.

Stopping Time (Steps to 1)
111 steps
Peak Trajectory Value
9,232
Trajectory Sequence
27 β†’ 82 β†’ 41 β†’ 124 β†’ 62 β†’ 31 β†’ 94 β†’ 47 β†’ 142 β†’ 71 β†’ 214 β†’ 107 β†’ 322 β†’ 161 β†’ 484 β†’ 242 β†’ 121 β†’ 364 β†’ 182 β†’ 91 β†’ 274 β†’ 137 β†’ 412 β†’ 206 β†’ 103 β†’ 310 β†’ 155 β†’ 466 β†’ 233 β†’ 700 β†’ 350 β†’ 175 β†’ 526 β†’ 263 β†’ 790 β†’ 395 β†’ 1186 β†’ 593 β†’ 1780 β†’ 890 β†’ 445 β†’ 1336 β†’ 668 β†’ 334 β†’ 167 β†’ 502 β†’ 251 β†’ 754 β†’ 377 β†’ 1132 β†’ 566 β†’ 283 β†’ 850 β†’ 425 β†’ 1276 β†’ 638 β†’ 319 β†’ 958 β†’ 479 β†’ 1438 β†’ 719 β†’ 2158 β†’ 1079 β†’ 3238 β†’ 1619 β†’ 4858 β†’ 2429 β†’ 7288 β†’ 3644 β†’ 1822 β†’ 911 β†’ 2734 β†’ 1367 β†’ 4102 β†’ 2051 β†’ 6154 β†’ 3077 β†’ 9232 β†’ 4616 β†’ 2308 β†’ 1154 β†’ 577 β†’ 1732 β†’ 866 β†’ 433 β†’ 1300 β†’ 650 β†’ 325 β†’ 976 β†’ 488 β†’ 244 β†’ 122 β†’ 61 β†’ 184 β†’ 92 β†’ 46 β†’ 23 β†’ 70 β†’ 35 β†’ 106 β†’ 53 β†’ 160 β†’ 80 β†’ 40 β†’ 20 β†’ 10 β†’ 5 β†’ 16 β†’ 8 β†’ 4 β†’ 2 β†’ 1
Be the first person to rate this calculator
AdvertisementIn-Article
Calculation Guide & Reference

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.

Standardized Mathematical Formula
n β†’ n/2 if even, n β†’ 3n+1 if odd

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.

Variables:
n:The current value in the sequence
How It Works (Step-by-Step)
  • 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.
Real-World Numerical Example
Starting at 27

Compute the Collatz sequence starting from 27, a classic example known for its long, high-flying trajectory.

β€’Apply the rule repeatedly: 27 β†’ 82 β†’ 41 β†’ 124 β†’ 62 β†’ 31 β†’ ... continuing until reaching 1.
β€’The sequence takes 111 steps to reach 1.
β€’Along the way it peaks at 9,232 β€” over 340 times the starting value.
Result: Starting from 27, the sequence takes 111 steps to reach 1, peaking at 9,232.
Calculation Best Practices & Tips
Examine the discriminant (bΒ² - 4ac) before solving quadratics to instantly know if roots are real, distinct, repeated, or complex.
In statistical analysis, always check both the mean and median to identify if data distribution is skewed by outliers.
When calculating percentage changes, ensure you divide by the original starting baseline value: ((New - Old) / Old) * 100.

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.

Explore90 MathCalculators

Algebraic solvers, geometric area & volume, matrix operations, prime factorization, and percentages.

More in Math

Top Similar Tools (Math)

Tags:
Looking for More Calculators?

Explore more tools in Math (83+ more calculators available)

Browse our complete directory with category filters, formulas, and verified engines.