ExplorationsHalve it, or treble it and add one

The Collatz Orbit Atlas

Open problemiterationopen problemsnumber theorycurious

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.

One orbit · 3n + 127
101001k19,232

From 27, one line per step. Even numbers halve; odd numbers are the only ones that can climb.

  1. 127 is odd, so 3 × 27 + 1 = 82
  2. 282 is even, so 82 ÷ 2 = 41
  3. 341 is odd, so 3 × 41 + 1 = 124
  4. 4124 is even, so 124 ÷ 2 = 62
  5. 562 is even, so 62 ÷ 2 = 31
  6. 631 is odd, so 3 × 31 + 1 = 94
  7. 794 is even, so 94 ÷ 2 = 47
  8. 847 is odd, so 3 × 47 + 1 = 142
  9. 9142 is even, so 142 ÷ 2 = 71
  10. 1071 is odd, so 3 × 71 + 1 = 214
  11. 11214 is even, so 214 ÷ 2 = 107
  12. 12107 is odd, so 3 × 107 + 1 = 322
  13. 13322 is even, so 322 ÷ 2 = 161
  14. 14161 is odd, so 3 × 161 + 1 = 484
  15. 15484 is even, so 484 ÷ 2 = 242
  16. 16242 is even, so 242 ÷ 2 = 121
  17. 17121 is odd, so 3 × 121 + 1 = 364
  18. 18364 is even, so 364 ÷ 2 = 182
  19. 19182 is even, so 182 ÷ 2 = 91
  20. 2091 is odd, so 3 × 91 + 1 = 274
  21. 21274 is even, so 274 ÷ 2 = 137
  22. 22137 is odd, so 3 × 137 + 1 = 412
  23. 23412 is even, so 412 ÷ 2 = 206
  24. 24206 is even, so 206 ÷ 2 = 103
  25. 25103 is odd, so 3 × 103 + 1 = 310
  26. 26310 is even, so 310 ÷ 2 = 155
  27. 27155 is odd, so 3 × 155 + 1 = 466
  28. 28466 is even, so 466 ÷ 2 = 233
  29. 29233 is odd, so 3 × 233 + 1 = 700
  30. 30700 is even, so 700 ÷ 2 = 350
  31. 31350 is even, so 350 ÷ 2 = 175
  32. 32175 is odd, so 3 × 175 + 1 = 526
  33. 33526 is even, so 526 ÷ 2 = 263
  34. 34263 is odd, so 3 × 263 + 1 = 790
  35. 35790 is even, so 790 ÷ 2 = 395
  36. 36395 is odd, so 3 × 395 + 1 = 1186
  37. 371186 is even, so 1186 ÷ 2 = 593
  38. 38593 is odd, so 3 × 593 + 1 = 1780
  39. 391780 is even, so 1780 ÷ 2 = 890
  40. 40890 is even, so 890 ÷ 2 = 445
  41. 41445 is odd, so 3 × 445 + 1 = 1336
  42. 421336 is even, so 1336 ÷ 2 = 668
  43. 43668 is even, so 668 ÷ 2 = 334
  44. 44334 is even, so 334 ÷ 2 = 167
  45. 45167 is odd, so 3 × 167 + 1 = 502
  46. 46502 is even, so 502 ÷ 2 = 251
  47. 47251 is odd, so 3 × 251 + 1 = 754
  48. 48754 is even, so 754 ÷ 2 = 377
  49. 49377 is odd, so 3 × 377 + 1 = 1132
  50. 501132 is even, so 1132 ÷ 2 = 566
  51. 51566 is even, so 566 ÷ 2 = 283
  52. 52283 is odd, so 3 × 283 + 1 = 850
  53. 53850 is even, so 850 ÷ 2 = 425
  54. 54425 is odd, so 3 × 425 + 1 = 1276
  55. 551276 is even, so 1276 ÷ 2 = 638
  56. 56638 is even, so 638 ÷ 2 = 319
  57. 57319 is odd, so 3 × 319 + 1 = 958
  58. 58958 is even, so 958 ÷ 2 = 479
  59. 59479 is odd, so 3 × 479 + 1 = 1438
  60. 601438 is even, so 1438 ÷ 2 = 719
  61. 61719 is odd, so 3 × 719 + 1 = 2158
  62. 622158 is even, so 2158 ÷ 2 = 1079
  63. 631079 is odd, so 3 × 1079 + 1 = 3238
  64. 643238 is even, so 3238 ÷ 2 = 1619
  65. 651619 is odd, so 3 × 1619 + 1 = 4858
  66. 664858 is even, so 4858 ÷ 2 = 2429
  67. 672429 is odd, so 3 × 2429 + 1 = 7288
  68. 687288 is even, so 7288 ÷ 2 = 3644
  69. 693644 is even, so 3644 ÷ 2 = 1822
  70. 701822 is even, so 1822 ÷ 2 = 911
  71. 71911 is odd, so 3 × 911 + 1 = 2734
  72. 722734 is even, so 2734 ÷ 2 = 1367
  73. 731367 is odd, so 3 × 1367 + 1 = 4102
  74. 744102 is even, so 4102 ÷ 2 = 2051
  75. 752051 is odd, so 3 × 2051 + 1 = 6154
  76. 766154 is even, so 6154 ÷ 2 = 3077
  77. 773077 is odd, so 3 × 3077 + 1 = 9232
  78. 789232 is even, so 9232 ÷ 2 = 4616
  79. 794616 is even, so 4616 ÷ 2 = 2308
  80. 802308 is even, so 2308 ÷ 2 = 1154
  81. 811154 is even, so 1154 ÷ 2 = 577
  82. 82577 is odd, so 3 × 577 + 1 = 1732
  83. 831732 is even, so 1732 ÷ 2 = 866
  84. 84866 is even, so 866 ÷ 2 = 433
  85. 85433 is odd, so 3 × 433 + 1 = 1300
  86. 861300 is even, so 1300 ÷ 2 = 650
  87. 87650 is even, so 650 ÷ 2 = 325
  88. 88325 is odd, so 3 × 325 + 1 = 976
  89. 89976 is even, so 976 ÷ 2 = 488
  90. 90488 is even, so 488 ÷ 2 = 244
  91. 91244 is even, so 244 ÷ 2 = 122
  92. 92122 is even, so 122 ÷ 2 = 61
  93. 9361 is odd, so 3 × 61 + 1 = 184
  94. 94184 is even, so 184 ÷ 2 = 92
  95. 9592 is even, so 92 ÷ 2 = 46
  96. 9646 is even, so 46 ÷ 2 = 23
  97. 9723 is odd, so 3 × 23 + 1 = 70
  98. 9870 is even, so 70 ÷ 2 = 35
  99. 9935 is odd, so 3 × 35 + 1 = 106
  100. 100106 is even, so 106 ÷ 2 = 53
  101. 10153 is odd, so 3 × 53 + 1 = 160
  102. 102160 is even, so 160 ÷ 2 = 80
  103. 10380 is even, so 80 ÷ 2 = 40
  104. 10440 is even, so 40 ÷ 2 = 20
  105. 10520 is even, so 20 ÷ 2 = 10
  106. 10610 is even, so 10 ÷ 2 = 5
  107. 1075 is odd, so 3 × 5 + 1 = 16
  108. 10816 is even, so 16 ÷ 2 = 8
  109. 1098 is even, so 8 ÷ 2 = 4
  110. 1104 is even, so 4 ÷ 2 = 2
  111. 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.

Speed

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
The rule

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?

1/3

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.

Worked by handStarting from 6, halve each even value or multiply each odd value by three and add one. These eight calculations reach 1.
  1. 66 ÷ 23Since 6 is even, divide it by two.
  2. 33 × 3 + 110Since 3 is odd, multiply it by three and add one.
  3. 1010 ÷ 25
  4. 53 × 5 + 116The same odd-number operation increases 5 to 16.
  5. 1616 ÷ 28
  6. 88 ÷ 24
  7. 44 ÷ 22
  8. 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 asks whether the same eventual destination is reached from every positive whole number.

01

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 .

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 says that every positive start eventually reaches 1. Published computations establish this for enormous finite ranges, but no covers all positive whole numbers.

02

Why it starts to make sense

Intuition, before any algebra

Watch the 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 , jump from one odd value to the next. Write , where is odd and . The whole episode takes to , a change of roughly . If the dividing successive values behaved like random , then would equal with , so its mean would be 2. On a 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 . The are produced by one deterministic , not independent coin flips, and a single starting value is entitled to be atypical forever.

03

The key idea

There are exactly two ways it can fail

The can only be false in one of two ways.

  1. An unbounded . It reaches arbitrarily large values without reaching 1; this does not mean every step increases, since even values are still halved.
  2. A 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 that stays bounded must eventually repeat a value, because there are only finitely many values below any bound - and a repeat is a .

Neither has ever been found for . Both are entirely ordinary for nearby rules. Switch this laboratory to and start from 5:

A , 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.

04

Formal statement

Precisely what is being claimed

Define by

The Collatz . For every there is a with .

Three statements to keep apart:

  1. Every below has been verified to reach 1 by published computation.
  2. Almost all have attaining almost bounded values (Tao, 2022), in a precise logarithmic-density sense.
  3. Every reaches 1. Open.

The first is a finite check. The second is a , 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 is entirely compatible with what is proved.

05

Proof

Of the parts that admit one

Every is well defined and stays a positive . 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 must be . 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 fails only by divergence or by a other than . Immediate from the previous two: an 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 view never shows two vermilion blocks in a row, and it is what the in layer 2 is built on.

What is not proved. That the average governs any individual . 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 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.

06

Limits and frontier

Where this page stops being able to help

A finite calculation is not a of the . 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 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 of provisional bests rather than as facts about the .

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 or runs that outlast the computation . A cycle under is a result about that variant, not a to the . 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.

Exhaustively 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
Open problem

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
Exhaustively 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
Proved

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
Exhaustively 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
Exhaustively 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Connected by how they work, not by sharing a topic label.