Skip to content

No Loops

Before we prove orbits must descend, let's prove they can't go in circles.

A Collatz cycle would be an orbit that returns to its starting value: nnn \to \cdots \to n. If such a cycle has SS odd steps and EE even steps (total K=S+EK = S + E), then the starting value must satisfy:

n=C2E2E3Sn = \frac{C \cdot 2^E}{2^E - 3^S}

where CC is a constant determined by the specific pattern of odd and even steps (the "parity word"). The denominator g=2E3Sg = 2^E - 3^S is the gap — and it must divide C2EC \cdot 2^E for nn to be a positive integer.

Hunt for cycles

Pick any (S,E)(S, E) combination. The widget computes the gap, enumerates all valid parity words, and checks whether ANY word produces a cycle:

K = 13
Gap $g = 2^{8} - 3^{5}$
13
≈ 2^3.7
Parity words
495
$C(7, 4)$
Words / Gap
38.077
Needs closer inspection

Remainder distribution (T mod 13)

0613
CYCLE FOUND — 38 of 495 words have remainder 0.

What to try

  • (S=5, E=8) — the first non-trivial candidate. 91 parity words, gap = 13. Watch the histogram: the remainder at 0 is empty. No cycle.
  • (S=1, E=2) — the trivial case. This gives the cycle 4 → 2 → 1. The only one.
  • (S=3, E=5) — ascending (33>253^3 > 2^5). Eliminated automatically: the gap is negative, forcing n<0n < 0.
  • (S=41, E=65) — too large to enumerate here, but computationally eliminated via a meet-in-the-middle search (87 minutes in Rust).

The convergents of log23\log_2 3

The cycle candidates come from the convergents of log23\log_2 3 — the best rational approximations. Explore them:

log₂3 ≈ 1.5849625007
log₂3
1/1
2/1
3/2
8/5
19/12
65/41
84/53
485/306
1054/665
24727/15601
Zoom: 0
1/1K=2Ascending (auto-eliminated)
2/1K=3Enumerated: no cycle
3/2K=5Ascending (auto-eliminated)
8/5K=13Enumerated: no cycle
19/12K=31Ascending (auto-eliminated)
65/41K=106MITM: no cycle
84/53K=137Ascending (auto-eliminated)
485/306K=791Counting bound: words/gap → 0
1054/665K=1719Ascending (auto-eliminated)
24727/15601K=40328Counting bound: words/gap → 0

Convergent 8/5

$E$ (even steps)8
$S$ (odd steps)5
$K = E + S$13
$E/S$1.60000000
$|\log_2 3 - E/S|$1.504e-2
TypeDescending (2ᴱ > 3ˢ)
StatusEnumerated: no cycle

Blue dots (ascending) are eliminated automatically. Red dots (descending) need computation or counting. Zoom in to see how the convergents cluster around log23\log_2 3 without ever reaching it.

Why no cycles exist

The proof eliminates ALL possible cycles through three mechanisms:

1. Ascending convergents: sign argument

When 3S>2E3^S > 2^E (the gap gg is negative), the formula gives n<0n < 0. Since we need positive integers, these are automatically eliminated. This kills roughly half of all candidates.

2. Small convergents: direct computation

For (S=5,E=8)(S=5, E=8): gap = 13, all 91 words checked, zero hits. For (S=41,E=65)(S=41, E=65): gap ≈ 4.2×10174.2 \times 10^{17}, eliminated by MITM.

3. Large convergents: the counting argument

For S306S \geq 306: the number of parity words is C(E1,S1)20.95EC(E-1, S-1) \approx 2^{0.95E}, while the gap g2Eg \approx 2^E. Since 0.95<10.95 < 1: words/gap → 0 exponentially. There simply aren't enough words to hit even one multiple of the gap.

The second moment bound (Parseval's inequality) makes this rigorous: the deviation of the actual zero-count from the expected count is bounded by words/g\sqrt{\text{words}/g}. When words/gap <0.38< 0.38: the bound forces zero cycles. This holds for all S306S \geq 306.

The role of log23\log_2 3

Why does this work? The gap g=2E3Sg = 2^E - 3^S is governed by how well E/SE/S approximates log231.5850\log_2 3 \approx 1.5850. The best approximations (convergents of the continued fraction) give the smallest gaps — but even these aren't small enough.

The irrationality of log23\log_2 3 is what prevents cycles. If log23\log_2 3 were rational (=p/q= p/q), then 2p=3q2^p = 3^q and the gap would be zero — cycles would exist trivially. But log23\log_2 3 is irrational, so 2E3S2^E \neq 3^S for any positive integers, and the gap is always nonzero.

The convergents of log23\log_2 3 are: 1/1,2/1,3/2,8/5,19/12,65/41,84/53,485/306,1/1, 2/1, 3/2, 8/5, 19/12, 65/41, 84/53, 485/306, \ldots

Each gives a cycle candidate. All fail. The ascending ones (even indices) fail by sign. The descending ones (odd indices) fail by computation or counting.

Front 1: Complete

Theorem. No non-trivial Collatz cycle exists.

Every convergent is eliminated. The cycle threat is dead. Now we focus on the other threat: can an orbit grow forever?