Collatz Sequence Calculator
Enter a whole number (1 or greater) to generate its Collatz sequence.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
The Collatz conjecture (also called the 3n+1 problem) proposes a deceptively simple rule: starting from any positive whole number, if it's even, halve it; if it's odd, triple it and add one; repeat. The conjecture — unproven despite being checked for every number up to enormous limits — claims this process always eventually reaches 1. This calculator runs the rule for any starting number and shows the full sequence, the total number of steps, and the highest value reached along the way.
The problem is a favorite in recreational and number theory mathematics because it's trivial to state but has resisted proof for nearly a century — mathematician Paul Erdős reportedly said mathematics wasn't ready for it. Students and hobbyists use a Collatz calculator to explore how wildly the sequence length and peak value can vary between nearby starting numbers, and educators use it as an approachable entry point into open problems in mathematics.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)