Collatz Conjecture Calculator
Work out the Collatz walk from a starting value to 1 from starting value. Even n → n ÷ 2; odd n → 3n + 1, and the page prints the substitution so the result can be checked by hand.
Collatz Conjecture Calculator
Work out the Collatz walk from a starting value to 1 from starting value. Even n → n ÷ 2; odd n → 3n + 1, and the page prints the substitution so the result can be checked by hand.
How this page computes
Even n → n ÷ 2; odd n → 3n + 1
The conjecture that every starting value reaches 1 is unproved. The page shows one trajectory exactly, in BigInt, and says that this is not evidence for the general claim.
The peak value is often much larger than the start: 27 climbs to 9 232 before it falls, which is why the page prints it.
The calculation runs entirely in this browser tab; nothing is uploaded.
Collatz Conjecture Calculator computes the Collatz walk from a starting value to 1. Even n → n ÷ 2; odd n → 3n + 1. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.
The conjecture that every starting value reaches 1 is unproved. The page shows one trajectory exactly, in BigInt, and says that this is not evidence for the general claim. Pressed with starting value 27, it answers: Steps to reach 1 = 111
How to use Collatz Conjecture Calculator
Enter starting value 27, then press Run: the page evaluates the Collatz walk from a starting value to 1 and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.
Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.
With starting value 27, the answer is Steps to reach 1 = 111.
A walk is not a proof
The conjecture that every starting value reaches 1 is unproved. The page shows one trajectory exactly, in BigInt, and says that this is not evidence for the general claim.
The peak value is often much larger than the start: 27 climbs to 9 232 before it falls, which is why the page prints it.
What to Expect
Best for
- Working out the Collatz walk from a starting value to 1 without a spreadsheet
- Checking a figure someone else quoted
- Seeing the formula behind an answer
Not ideal for
- A walk longer than 100 000 steps is refused, and a starting value that is not a safe integer is refused.
- A quantity the page cannot compute, which it refuses instead of estimating
- Rounding an answer that has an exact form
What this tool keeps
- Even n → n ÷ 2; odd n → 3n + 1
- Every input exactly as typed
What may need cleanup
- Nothing: the printed answer is the final output
- A unit conversion, if the inputs were entered in different units
Common errors
- A walk longer than 100 000 steps is refused, and a starting value that is not a safe integer is refused.
- An empty field is refused with the field's name
Example use cases
- Work out the Collatz walk from a starting value to 1 for one set of inputs
- Check the result against the formula by hand
- See which input the answer is most sensitive to
Sample input
Collatz Conjecture Calculator: starting value 27
Sample output
Steps to reach 1 = 111 — Peak value = 9232
Who this is for
- Students checking a formula
- Anyone who needs the number and the working
Frequently asked questions
What formula does this page use?
Even n → n ÷ 2; odd n → 3n + 1. The page prints the substitution as well, so the answer can be checked against the rule.
What does Collatz Conjecture Calculator refuse?
A walk longer than 100 000 steps is refused, and a starting value that is not a safe integer is refused.
What does the default example give?
Starting value 27 gives Steps to reach 1 = 111. Every line below that restates the same arithmetic.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.