ExplorationsHalve it, or treble it and add one
The Collatz Orbit Atlas
For any positive whole number, the Collatz rule gives the next number by halving it if it is even, or multiplying it by three and adding one if it is odd. Repeating this from 6 gives 6 → 3 → 10 → 5 → 16 → 8 → 4 → 2 → 1. Whether every positive start eventually reaches 1 is still unproved.
Current view: One orbit
The trajectory from a single start, with every step written out beside it.
From 27, one line per step. Even numbers halve; odd numbers are the only ones that can climb.
- 127 is odd, so 3 × 27 + 1 = 82
- 282 is even, so 82 ÷ 2 = 41
- 341 is odd, so 3 × 41 + 1 = 124
- 4124 is even, so 124 ÷ 2 = 62
- 562 is even, so 62 ÷ 2 = 31
- 631 is odd, so 3 × 31 + 1 = 94
- 794 is even, so 94 ÷ 2 = 47
- 847 is odd, so 3 × 47 + 1 = 142
- 9142 is even, so 142 ÷ 2 = 71
- 1071 is odd, so 3 × 71 + 1 = 214
- 11214 is even, so 214 ÷ 2 = 107
- 12107 is odd, so 3 × 107 + 1 = 322
- 13322 is even, so 322 ÷ 2 = 161
- 14161 is odd, so 3 × 161 + 1 = 484
- 15484 is even, so 484 ÷ 2 = 242
- 16242 is even, so 242 ÷ 2 = 121
- 17121 is odd, so 3 × 121 + 1 = 364
- 18364 is even, so 364 ÷ 2 = 182
- 19182 is even, so 182 ÷ 2 = 91
- 2091 is odd, so 3 × 91 + 1 = 274
- 21274 is even, so 274 ÷ 2 = 137
- 22137 is odd, so 3 × 137 + 1 = 412
- 23412 is even, so 412 ÷ 2 = 206
- 24206 is even, so 206 ÷ 2 = 103
- 25103 is odd, so 3 × 103 + 1 = 310
- 26310 is even, so 310 ÷ 2 = 155
- 27155 is odd, so 3 × 155 + 1 = 466
- 28466 is even, so 466 ÷ 2 = 233
- 29233 is odd, so 3 × 233 + 1 = 700
- 30700 is even, so 700 ÷ 2 = 350
- 31350 is even, so 350 ÷ 2 = 175
- 32175 is odd, so 3 × 175 + 1 = 526
- 33526 is even, so 526 ÷ 2 = 263
- 34263 is odd, so 3 × 263 + 1 = 790
- 35790 is even, so 790 ÷ 2 = 395
- 36395 is odd, so 3 × 395 + 1 = 1186
- 371186 is even, so 1186 ÷ 2 = 593
- 38593 is odd, so 3 × 593 + 1 = 1780
- 391780 is even, so 1780 ÷ 2 = 890
- 40890 is even, so 890 ÷ 2 = 445
- 41445 is odd, so 3 × 445 + 1 = 1336
- 421336 is even, so 1336 ÷ 2 = 668
- 43668 is even, so 668 ÷ 2 = 334
- 44334 is even, so 334 ÷ 2 = 167
- 45167 is odd, so 3 × 167 + 1 = 502
- 46502 is even, so 502 ÷ 2 = 251
- 47251 is odd, so 3 × 251 + 1 = 754
- 48754 is even, so 754 ÷ 2 = 377
- 49377 is odd, so 3 × 377 + 1 = 1132
- 501132 is even, so 1132 ÷ 2 = 566
- 51566 is even, so 566 ÷ 2 = 283
- 52283 is odd, so 3 × 283 + 1 = 850
- 53850 is even, so 850 ÷ 2 = 425
- 54425 is odd, so 3 × 425 + 1 = 1276
- 551276 is even, so 1276 ÷ 2 = 638
- 56638 is even, so 638 ÷ 2 = 319
- 57319 is odd, so 3 × 319 + 1 = 958
- 58958 is even, so 958 ÷ 2 = 479
- 59479 is odd, so 3 × 479 + 1 = 1438
- 601438 is even, so 1438 ÷ 2 = 719
- 61719 is odd, so 3 × 719 + 1 = 2158
- 622158 is even, so 2158 ÷ 2 = 1079
- 631079 is odd, so 3 × 1079 + 1 = 3238
- 643238 is even, so 3238 ÷ 2 = 1619
- 651619 is odd, so 3 × 1619 + 1 = 4858
- 664858 is even, so 4858 ÷ 2 = 2429
- 672429 is odd, so 3 × 2429 + 1 = 7288
- 687288 is even, so 7288 ÷ 2 = 3644
- 693644 is even, so 3644 ÷ 2 = 1822
- 701822 is even, so 1822 ÷ 2 = 911
- 71911 is odd, so 3 × 911 + 1 = 2734
- 722734 is even, so 2734 ÷ 2 = 1367
- 731367 is odd, so 3 × 1367 + 1 = 4102
- 744102 is even, so 4102 ÷ 2 = 2051
- 752051 is odd, so 3 × 2051 + 1 = 6154
- 766154 is even, so 6154 ÷ 2 = 3077
- 773077 is odd, so 3 × 3077 + 1 = 9232
- 789232 is even, so 9232 ÷ 2 = 4616
- 794616 is even, so 4616 ÷ 2 = 2308
- 802308 is even, so 2308 ÷ 2 = 1154
- 811154 is even, so 1154 ÷ 2 = 577
- 82577 is odd, so 3 × 577 + 1 = 1732
- 831732 is even, so 1732 ÷ 2 = 866
- 84866 is even, so 866 ÷ 2 = 433
- 85433 is odd, so 3 × 433 + 1 = 1300
- 861300 is even, so 1300 ÷ 2 = 650
- 87650 is even, so 650 ÷ 2 = 325
- 88325 is odd, so 3 × 325 + 1 = 976
- 89976 is even, so 976 ÷ 2 = 488
- 90488 is even, so 488 ÷ 2 = 244
- 91244 is even, so 244 ÷ 2 = 122
- 92122 is even, so 122 ÷ 2 = 61
- 9361 is odd, so 3 × 61 + 1 = 184
- 94184 is even, so 184 ÷ 2 = 92
- 9592 is even, so 92 ÷ 2 = 46
- 9646 is even, so 46 ÷ 2 = 23
- 9723 is odd, so 3 × 23 + 1 = 70
- 9870 is even, so 70 ÷ 2 = 35
- 9935 is odd, so 3 × 35 + 1 = 106
- 100106 is even, so 106 ÷ 2 = 53
- 10153 is odd, so 3 × 53 + 1 = 160
- 102160 is even, so 160 ÷ 2 = 80
- 10380 is even, so 80 ÷ 2 = 40
- 10440 is even, so 40 ÷ 2 = 20
- 10520 is even, so 20 ÷ 2 = 10
- 10610 is even, so 10 ÷ 2 = 5
- 1075 is odd, so 3 × 5 + 1 = 16
- 10816 is even, so 16 ÷ 2 = 8
- 1098 is even, so 8 ÷ 2 = 4
- 1104 is even, so 4 ÷ 2 = 2
- 1112 is even, so 2 ÷ 2 = 1
Reached 1 in 111 steps, having climbed as high as 9,232 on the way. That it arrives is a fact about this start; that every start arrives is the conjecture.
- point
- one value of the orbit
- odd
- multiply by 3, then add 1
- the peak
- the highest value in this computed run
- step
- one line of the arithmetic beside the plot
Each point is one visited value, and the adjacent transcript gives the calculation that produced it. Halve each even value. For each odd value, multiply by 3, then add 1. The logarithmic vertical scale shows equal ratios at equal distances; each successive power-of-ten gridline is ten times the one below.
27 reaches 1 in 111 steps, climbing to 9,232 first. That is a fact about 27; the conjecture is the same sentence about every start.
- Steps to 1
- 111
- Highest reached
- 9,232
- Rule
- 3n + 1
Starting value
A positive whole number from 1 to 100,000,000. Each step uses the previous result; the run stops when it reaches 1, repeats a value or reaches a computation limit.
Step by step
Use Step for one change you can inspect, or Run to watch the changes accumulate.
Vertical scale
Each gridline is ten times the one below. Halvings become a straight fall, so the shape of the descent is visible.
Advanced parameters
Halve each even value. For each odd value, multiply by 3, then add 1. The Collatz conjecture concerns this rule on positive whole numbers.
Cases worth seeing
Try this
Starting values 26, 27 and 28 are neighbours. Run each. How many steps does each take, and does anything about the numbers themselves predict the difference?
What is going on
Each explanation begins with a worked example and follows the same operation through intuition, formal statements and proofs. Later sections distinguish what is established from questions that remain open, so you can follow the level of detail useful to you.
- 66 ÷ 23Since 6 is even, divide it by two.
- 33 × 3 + 110Since 3 is odd, multiply it by three and add one.
- 1010 ÷ 25
- 53 × 5 + 116The same odd-number operation increases 5 to 16.
- 1616 ÷ 28
- 88 ÷ 24
- 44 ÷ 22
- 22 ÷ 21This eighth step reaches 1, where the laboratory stops counting.
Now plot those nine values in order, left to right, with height standing for size. That is the figure in the laboratory - and because the values span 1 to 16, the vertical scale there is logarithmic, so each gridline is ten times the one below.
The run from 6 includes two upward moves before it reaches 1. An odd step increases the value, so repeated decreases cannot simply be assumed. These eight calculations establish what happens from 6; the conjectureDefinition: A conjecture is a precise mathematical claim supported by evidence but not yet proved. asks whether the same eventual destination is reached from every positive whole number.
What you are seeing
A plain description of the process
The starting value must be a positive whole number. To produce the next value, divide it by two if it is even, or multiply it by three and add one if it is odd. Apply the same choice to the new value, rather than repeatedly using the starting value.
For example, 6 is even, so 6 ÷ 2 = 3. Now 3 is odd, so 3 × 3 + 1 = 10. Continuing gives 10 → 5 → 16 → 8 → 4 → 2 → 1. This list of visited values is called an orbitDefinition: The orbit of a starting value is the sequence of states produced by repeated iteration..
The laboratory stops at the first 1 so that it can count the steps needed to reach it. The mathematical rule itself does not stop: another step gives 4, then 2, then 1 again.
Starting from 27 takes 111 steps and reaches 9,232 along the way, while 26 takes ten steps and 28 takes eighteen. The Collatz conjectureDefinition: A conjecture is a precise mathematical claim supported by evidence but not yet proved. says that every positive start eventually reaches 1. Published computations establish this for enormous finite ranges, but no proofDefinition: A proof is a finite argument showing that a conclusion follows from stated assumptions. covers all positive whole numbers.
Why it starts to make sense
Intuition, before any algebra
Watch the parityDefinition: Parity records whether an integer is even or odd. view and one thing becomes obvious: an odd step is always followed by at least one halving. Multiply an odd number by three and you get an odd number; add one and it becomes even. So the climbing move can never happen twice in a row.
For a more careful heuristicDefinition: A heuristic is a method or explanation that guides discovery without guaranteeing a proof., jump from one odd value to the next. Write , where is odd and . The whole episode takes to , a change of roughly . If the powers of twoDefinition: Here, a power of two is a number obtained by starting at one and doubling a whole number of times. dividing successive values behaved like random residuesDefinition: A residue is the remainder, or the class of integers sharing that remainder, modulo a chosen modulus., then would equal with probabilitiesDefinition: Probability measures how strongly an outcome is expected within a specified random model. , so its mean would be 2. On a logarithmic scaleDefinition: On a logarithmic scale, equal visual distances represent equal multiplication factors rather than equal additions. the typical multiplier would therefore be .
Because 3/4 is less than one, this random model suggests that values should tend to shrink over many steps. That tendency is consistent with the completed computations that reach 1.
That argument is intuition, not proofDefinition: A proof is a finite argument showing that a conclusion follows from stated assumptions.. The exponentsDefinition: A positive whole-number exponent tells you how many copies of a base to multiply together. are produced by one deterministic orbitDefinition: The orbit of a starting value is the sequence of states produced by repeated iteration., not independent coin flips, and a single starting value is entitled to be atypical forever.
The key idea
There are exactly two ways it can fail
The conjectureDefinition: A conjecture is a precise mathematical claim supported by evidence but not yet proved. can only be false in one of two ways.
- An unbounded orbitDefinition: The orbit of a starting value is the sequence of states produced by repeated iteration.. It reaches arbitrarily large values without reaching 1; this does not mean every step increases, since even values are still halved.
- A cycleDefinition: A cycle is a repeating loop of states reached by a rule. that does not contain 1. It returns to a value it has already visited, and loops forever without ever passing through 1.
There is no third option: an orbitDefinition: The orbit of a starting value is the sequence of states produced by repeated iteration. that stays bounded must eventually repeat a value, because there are only finitely many values below any bound - and a repeat is a cycleDefinition: A cycle is a repeating loop of states reached by a rule..
Neither has ever been found for . Both are entirely ordinary for nearby rules. Switch this laboratory to and start from 5:
A cycleDefinition: A cycle is a repeating loop of states reached by a rule., in five steps, that never touches 1. So "eventually reaches 1" is not something the shape of these rules guarantees. Whatever makes special - if anything does - is not visible in the statement of the rule.
Formal statement
Precisely what is being claimed
Define by
The Collatz conjectureDefinition: A conjecture is a precise mathematical claim supported by evidence but not yet proved.. For every there is a with .
Three statements to keep apart:
- Every below has been verified to reach 1 by published computation.
- Almost all have orbitsDefinition: The orbit of a starting value is the sequence of states produced by repeated iteration. attaining almost bounded values (Tao, 2022), in a precise logarithmic-density sense.
- Every reaches 1. Open.
The first is a finite check. The second is a theoremDefinition: A theorem is a mathematical statement established by a proof from accepted definitions and earlier results., and it is not the third - a set of logarithmic density zero can still be infinite, and "almost bounded" is weaker than "reaches 1". A counterexampleDefinition: A counterexample is one valid case that makes a universal claim false. is entirely compatible with what is proved.
Proof
Of the parts that admit one
Every orbitDefinition: The orbit of a starting value is the sequence of states produced by repeated iteration. is well defined and stays a positive integerDefinition: An integer is a whole-number value, including zero and negative whole numbers, with no fractional part.. Halving an even number gives an integer; for gives an integer at least 4. Neither branch can produce a non-positive value, so the map never leaves . ∎
A bounded orbitDefinition: The orbit of a starting value is the sequence of states produced by repeated iteration. must be eventually periodicDefinition: A sequence is eventually periodic if, after some finite beginning, it repeats with a fixed positive period forever.. If an orbit's values never exceed some , it takes values in a finite set of size , so within steps two of them coincide; the map is deterministic, so everything after the second occurrence repeats what followed the first. ∎
So the conjectureDefinition: A conjecture is a precise mathematical claim supported by evidence but not yet proved. fails only by divergence or by a cycleDefinition: A cycle is a repeating loop of states reached by a rule. other than . Immediate from the previous two: an orbitDefinition: The orbit of a starting value is the sequence of states produced by repeated iteration. either is bounded, and then cycles, or is unbounded. ∎
An odd step is always followed by an even one. For odd , is odd and is even. ∎ This is why the parityDefinition: Parity records whether an integer is even or odd. view never shows two vermilion blocks in a row, and it is what the heuristicDefinition: A heuristic is a method or explanation that guides discovery without guaranteeing a proof. in layer 2 is built on.
What is not proved. That the heuristicDefinition: A heuristic is a method or explanation that guides discovery without guaranteeing a proof. average governs any individual orbitDefinition: The orbit of a starting value is the sequence of states produced by repeated iteration.. The gap is not technical: the heuristic treats the parities of successive values as if they were independent coin flips, and they are not - they are determined, by the starting value, in a way nobody knows how to control. Tao's theoremDefinition: A theorem is a mathematical statement established by a proof from accepted definitions and earlier results. is the strongest thing anyone has extracted from this line of argument, and what it gives is a statement about almost every start rather than about every start.
And note what is not available here. The argument that settles the happy numbers - the map cannot outrun itself, so the space closes and enumeration finishes - has no analogue. has no bound to close inside.
Limits and frontier
Where this page stops being able to help
A finite calculation is not a proofDefinition: A proof is a finite argument showing that a conclusion follows from stated assumptions. of the conjectureDefinition: A conjecture is a precise mathematical claim supported by evidence but not yet proved.. A completed run establishes that its starting value reaches 1. A completed sweep does the same for the finite range it covers. These are examples consistent with the conjecture, but they cannot rule out a counterexampleDefinition: A counterexample is one valid case that makes a universal claim false. outside that range. The published verification below is a separate computation, not a result established by running this page.
The records are provisional by construction. Below ten thousand the longest run is 261 steps, from 6,171, and the highest excursion is 27,114,424, from 9,663. Both are records only within that range; each held until a wider search found the next. Presented as a sequenceDefinition: A sequence is an ordered list of values, usually indexed by whole numbers. of provisional bests rather than as facts about the integersDefinition: An integer is a whole-number value, including zero and negative whole numbers, with no fractional part..
This laboratory stops early, on purpose. An individual run gives up after 2,000 steps and says so rather than reporting a result, and any step that would take a value past the range where whole numbers are exact stops the run instead of continuing in rounded arithmetic. A page about the difference between checking and proving cannot afford to print values that are quietly wrong.
Changing the rule changes the question. The alternative rules let you observe cyclesDefinition: A cycle is a repeating loop of states reached by a rule. or runs that outlast the computation limitDefinition: A limit is the value that a sequence or function approaches under a stated limiting process.. A cycle under is a result about that variant, not a counterexampleDefinition: A counterexample is one valid case that makes a universal claim false. to the conjectureDefinition: A conjecture is a precise mathematical claim supported by evidence but not yet proved.. Each plot and arithmetic transcript should be read with its selected rule and starting value.
What is actually established
Every statement on this page, with its status, its exact scope, and the date that status was last checked.
Every starting value this laboratory has run under 3n + 1 has reached 1.
- Scope
- Starts from 1 to 20,000 swept in your browser, plus any individual start up to 100,000,000 that you run. Not a statement about any start outside what was actually computed.
- Why
- The sweep computes each stopping time exactly, in whole numbers, and memoises on the way down. A start that did not resolve would be recorded as unresolved and drawn as such rather than quietly omitted - under the ordinary rule, none is.
- Computation (exact)
- Exact integer arithmetic, refusing any step that would leave the range where whole numbers are exact. Sweeps up to 20,000 starts; individual runs stop after 2,000 steps and say so rather than reporting a result. Algorithm collatz-1.
- Status checked
Whether every positive integer reaches 1 under 3n + 1 is unresolved.
- Scope
- All positive integers.
- Why
- There are exactly two ways it could fail: an orbit that grows without bound, or a cycle that does not contain 1. Neither has ever been found, and neither has been ruled out. Note what a search can and cannot do - checking every start below a bound establishes that no counterexample lies below that bound, and nothing more.
- Status checked
Every starting value below 2⁷¹ has been verified to reach 1 by large-scale computation.
- Scope
- Starts below approximately 2.36 × 10²¹, by published computation - not reproduced here.
- Why
- Quoted so that the size of the search is clear, and labelled as somebody else’s computation rather than this page’s. A bound of this size is a strong statement about where a counterexample is not, and no statement at all about whether one exists.
- Computation (exact)
- Not computed here. Published computation reported by Bařina (2025), covering starts below 2⁷¹ - roughly 2.36 × 10²¹. This page reproduces none of it and cannot verify it; it is cited, not repeated.
- Status checked
Almost all Collatz orbits attain almost bounded values, in a precise density sense.
- Scope
- A statement about logarithmic density over all starts. It does not establish that any particular start reaches 1, and it does not establish the conjecture.
- Why
- Tao, 2022 - the strongest general result. It is included here mainly because it is the result most likely to be misread: “almost all” is a density statement and “almost bounded” is not “reaches 1”, so the theorem is compatible with a counterexample existing.
- Status checked
Under 3n − 1 the orbit from 5 enters the cycle 5 → 14 → 7 → 20 → 10 → 5 and never reaches 1.
- Scope
- The single orbit from 5 under 3n − 1, recomputed here in exact whole numbers.
- Why
- A one-line refutation of the idea that “comes back to 1” is a generic property of these maps. The conjecture is about 3n + 1 specifically, and a neighbouring rule with a cycle is the cheapest demonstration of how little the general shape of the rule guarantees.
- Computation (exact)
- Exact integer arithmetic over a five-step orbit; the cycle closes immediately. Algorithm collatz-1.
- Status checked
Below ten thousand, the longest total stopping time is 261 steps, from 6,171; the highest any orbit climbs is 27,114,424, from 9,663.
- Scope
- Starts from 1 to 10,000 under 3n + 1, recomputed here and checked against a second implementation in the test suite.
- Why
- Both are records only within this range, and each was the record until a larger search found the next. They are presented as a sequence of provisional bests rather than as facts about the integers.
- Computation (exact)
- Exact integer arithmetic over all 10,000 starts, cross-checked against a naive unmemoised implementation. Algorithm collatz-1.
- Status checked
Sources
Review notes show which bibliographic details Mathomaly has checked and which remain unresolved. Checking a publication record does not independently verify its proof.
- Jeffrey C. Lagarias (editor), The Ultimate Challenge: The 3x + 1 Problem, American Mathematical Society, 2010. Link
An edited collection and annotated bibliography on the 3x+1 problem, cited for background and the distinction between finite computation and the general conjecture.
Bibliographic record checked. This is not an independent verification of the proof.
Bibliographic review:
AI-assisted bibliographic audit. Evidence type: publisher record.
AMS identifies Lagarias as editor, not sole author. The 2010 edition is also confirmed by his university publication list.
- Terence Tao, Almost all orbits of the Collatz map attain almost bounded values, Forum of Mathematics, Pi 10, e12, 2022. Link
Proves that almost all starting values, in logarithmic density, eventually reach an almost bounded value. This is not a proof that every orbit reaches 1.
Bibliographic record checked. This is not an independent verification of the proof.
Bibliographic review:
AI-assisted bibliographic audit. Evidence type: author record.
Author submission confirms title and journal reference: 2022, volume 10, e12.
- David Bařina, Improved verification limit for the convergence of the Collatz conjecture, The Journal of Supercomputing 81, article 810, 2025. Link
Reports verification for every positive starting value below 2^71 in the cited 2025 paper. This is a finite search bound, not a proof for all integers.
Bibliographic record checked. This is not an independent verification of the proof.
Bibliographic review:
AI-assisted bibliographic audit. Evidence type: publisher record.
Publisher confirms author, 2025 publication, article 810 and reported verification below 2^71.
- A006577 - Number of halving and tripling steps to reach 1, The On-Line Encyclopedia of Integer Sequences. Link
The stopping times this laboratory computes. Used to check the sweep against a published listing.
Bibliographic record checked. This is not an independent verification of the proof.
Bibliographic review:
AI-assisted bibliographic audit. Evidence type: source text.
Checked the sequence identifier, definition and displayed initial terms on the database entry.
- A006877 - Starting values with a record total stopping time, The On-Line Encyclopedia of Integer Sequences. Link
1, 2, 3, 6, 7, 9, 18, 25, 27, 54, 73, 97, … The record holders below ten thousand are recomputed in the test suite and compared against this list.
Bibliographic record checked. This is not an independent verification of the proof.
Bibliographic review:
AI-assisted bibliographic audit. Evidence type: source text.
Checked the sequence identifier, definition and displayed initial terms on the database entry.
Related by mechanism
Connected by how they work, not by sharing a topic label.