Skip to content

The Cycle Equation: Small Cases ​

This page works through the small cases of the cycle equation by hand. It does not rule out cycles in general — that is open — and the cases here are already covered by the literature (Steiner 1977, Eliahou 1993, Simons and de Weger 2005, Hercher 2023). It is a worked example of how the equation behaves.

The Cycle Equation ​

A Collatz cycle of total length KK with SS odd steps and E=K−SE = K - S even steps satisfies (Böhm and Sontacchi, 1978):

n=Ctotal⋅2E2E−3Sn = \frac{C_\text{total} \cdot 2^E}{2^E - 3^S}

where CtotalC_\text{total} is the sum of affine corrections from each odd step (see Affine Orbit Structure). For a cycle to exist:

  1. 2E−3S2^E - 3^S must be nonzero (it is, since log⁡23\log_2 3 is irrational)
  2. The result must be a positive integer
  3. nn must actually follow the proposed parity pattern

Any pair with 2E>3S2^E > 3^S is a candidate. The pairs where the gap ∣2E−3S∣|2^E - 3^S| is smallest relative to 2E2^E come from the convergents of log⁡23\log_2 3, so they make natural test cases, but they are not the only candidates. Eliahou (1993) showed that for any nontrivial cycle, E/SE/S must be very close to log⁡23\log_2 3 — close, not necessarily a convergent.

Negative gaps give no positive cycles ​

Lemma. If 3S>2E3^S > 2^E, there is no positive integer cycle with SS odd and EE even steps.

The affine constant CtotalC_\text{total} is always positive: each odd step contributes +1+1, subsequently multiplied by positive factors (3j/2m3^j / 2^m for various j,mj, m).

When 3S>2E3^S > 2^E, the denominator 2E−3S<02^E - 3^S < 0, so:

n=Ctotal⋅2E2E−3S=(positive)(negative)<0n = \frac{C_\text{total} \cdot 2^E}{2^E - 3^S} = \frac{(\text{positive})}{(\text{negative})} < 0

This is elementary and well known. It is also exactly where the negative integers come in: −1-1, −5-5 and −17-17 sit on cycles of this kind.

The first few convergents ​

EESSKKE/SE/Svs log⁡23\log_2 3Gap 2E−3S2^E - 3^SWhat happens
1121.000below−1-1Negative gap
2132.000above11Trivial cycle (4→2→1)
3251.500below−1-1Negative gap
85131.600above1313No cycle (checked below)
1912311.583below−7153-7153Negative gap
65411061.585above≈4.2×1017\approx 4.2 \times 10^{17}Too large to enumerate by hand
84531371.585below≈−4.0×1022\approx -4.0 \times 10^{22}Negative gap
4853067911.585above≈1.0×10143\approx 1.0 \times 10^{143}Too large to enumerate

Gap = 13 ​

For (S=5,E=8,K=13)(S=5, E=8, K=13) with gap =28−35=256−243=13= 2^8 - 3^5 = 256 - 243 = 13:

A valid parity word is a circular binary string of length 13 with exactly 5 ones (odd positions) and no two consecutive ones (since 3n+13n+1 always produces an even number). There are exactly 91 such words.

For each word, the affine composition gives a specific constant CC. The cycle equation requires:

13∣C⋅25613 \mid C \cdot 256

Since gcd⁡(256,13)=1\gcd(256, 13) = 1, this reduces to 13∣C13 \mid C.

Check. No Collatz cycle has S=5S = 5 odd and E=8E = 8 even steps. Among all 91 valid parity words, the remainder C⋅256 mod 13C \cdot 256 \bmod 13 is distributed over {1,2,…,12}\{1, 2, \ldots, 12\} — zero never appears.

Distribution of C⋅256 mod 13C \cdot 256 \bmod 13:

RemainderCount
17
26
39
47
56
610
77
86
910
106
118
129
00

The distribution is roughly uniform over {1,…,12}\{1, \ldots, 12\}, and zero is missing.

The Trivial Cycle ​

The convergent (S=1,E=2,K=3)(S=1, E=2, K=3) with gap =1= 1 produces the known cycle:

  • Parity word (1,0,0)(1, 0, 0): C=1/4C = 1/4, n=14⋅4/1=1n = \tfrac14 \cdot 4 / 1 = 1. The cycle 1→4→2→11 \to 4 \to 2 \to 1. ✓
  • Parity word (0,1,0)(0, 1, 0): n=2n = 2. The cycle 2→1→4→22 \to 1 \to 4 \to 2. ✓
  • Parity word (0,0,1)(0, 0, 1): n=4n = 4. Same cycle, different starting point.