Skip to content

The Collatz Zoo ​

What happens when we change the rules? The classical Collatz map uses 3x+13x+1 for odd numbers and x/2x/2 for even. But we can build a whole zoo of dynamical systems by varying the multiplier nn, the divisor yy, and the additive constant cc:

f(x)={x/yif y∣xnx+cotherwisef(x) = \begin{cases} x/y & \text{if } y \mid x \\ nx + c & \text{otherwise} \end{cases}

The classical conjecture is the special case (n,y,c)=(3,2,1)(n, y, c) = (3, 2, 1). Studying the full family shows why 3x+1 is expected to converge — and why most of its relatives are expected not to. Everything on this page is a heuristic, an analogy, or a computation over a stated range. None of it is a proof.

System: 3x+1, x/2 μ = 0.752 — Subcritical

Thermodynamics

Criticality μ0.7521
Energy input/kick1.585 bits
Avg drains/kick1.996
Net per cycle-0.411 bits
Fundamental constlog₂(6) = 2.5850

Survey (odd starts x = 3..499; an orbit is left unresolved past 10¹⁵ or after 2000 steps)

100% pass through 1
Pass through 1: 249Cycle, not through 1: 0Unresolved: 0

Sample orbit: x = 27

112 values, peak 9,232, reached 1 (stopped there)

Thermodynamic Framework ​

Each system in the zoo has measurable "physics." We treat the orbit as an energy transfer process:

QuantityFormulaPhysical Analogue
Potential energylog⁡y(x)\log_y(x)Height above ground state
Energy input per kicklog⁡y(n)\log_y(n)Work done by the nx+cnx+c step
Energy drain per step11Dissipation from the x/yx/y step
Fundamental constantlog⁡y(ny)\log_y(ny)The "speed of light" of the system
Criticality μ\mun/yE[vy]n / y^{E[v_y]}Subcritical (μ<1\mu < 1) or supercritical (μ>1\mu > 1)

The Conservation Law ​

Every system obeys a conservation equation:

s⋅log⁡y(ny)=T−log⁡y(xinitial/xfinal)+εs \cdot \log_y(ny) = T - \log_y(x_{\text{initial} }/x_{\text{final} }) + \varepsilon

where ss is the number of kick steps (odd steps), TT is the total steps, and ε≤0\varepsilon \le 0 captures the residual from the +c+c corrections.

For classical 3x+1, on an orbit followed down to 1: s⋅log⁡2(6)=T−log⁡2(x0)+εs \cdot \log_2(6) = T - \log_2(x_0) + \varepsilon, with ε≤0\varepsilon \le 0 always, and ε≥−0.33\varepsilon \ge -0.33 for every start below 10610^6 (computed; the minimum, −0.326-0.326, is at x0=993x_0 = 993).

This is the first law — energy is conserved up to the residual ε\varepsilon.

The Critical Threshold ​

The criticality parameter measures the average drift, and nothing more:

μ=nyE[vy]\mu = \frac{n}{y^{E[v_y]} }

where E[vy]E[v_y] is the expected yy-adic valuation of nx+cnx+c for random inputs. For x/2x/2 systems with nn and cc odd, E[v2]=2E[v_2] = 2 (each bit position is equally likely to end a run of zeros), giving:

μ=ny2=n4\mu = \frac{n}{y^2} = \frac{n}{4}

The average drift changes sign at μ=1\mu = 1, i.e., n=4n = 4:

Systemμ\muOdd starts 3 to 499 (computed)
3x+1,  x/23x+1, \; x/23/4=0.753/4 = 0.75all reach 1
5x+1,  x/25x+1, \; x/25/4=1.255/4 = 1.2584% pass 101510^{15}; the rest reach 1 or the cycles through 13 and 17
7x+1,  x/27x+1, \; x/27/4=1.757/4 = 1.7598% pass 101510^{15}
9x+1,  x/29x+1, \; x/29/4=2.259/4 = 2.2597% pass 101510^{15}

Passing 101510^{15} is not divergence: no orbit of 5x+15x+1 has been proved to diverge.

3 is the only odd number between 1 and 4. So among the nx+1nx+1, x/2x/2 systems with odd n>1n > 1, 3x+13x+1 is the only one whose average drift is downward. That is a classical heuristic, not a proof: an average says nothing certain about every orbit. The explorer above has a blunt example: for 2x+12x+1, x/3x/3 it reports μ≈0.87\mu \approx 0.87, yet every start that is 2 modulo 3 is never divided at all (2x+12x+1 is again 2 modulo 3) and runs off to infinity.

The Three Laws ​

A thermodynamic analogy, in three "laws":

First Law: Conservation ​

s⋅log⁡2(6)=T−log⁡2(x0)+εs \cdot \log_2(6) = T - \log_2(x_0) + \varepsilon

Energy input equals energy output plus residual. This holds for all (n,y,c)(n, y, c) systems — it's a counting identity. The fundamental constant log⁡2(6)\log_2(6) arises because 6=2×3=y×n6 = 2 \times 3 = y \times n.

Second Law: Dissipation ​

μ=3/4<1\mu = 3/4 < 1

The average energy drain exceeds the average energy input. On average, a kick-drain cycle loses 0.415 bits. This is the arrow of time — orbits trend downward on average.

For 5x+15x+1: μ=5/4>1\mu = 5/4 > 1, so the arrow points upward, and most orbits appear to grow without bound.

Third "Law" (conjectural): No Perpetual Motion ​

Even though the average is contraction, individual orbits could in principle avoid the average — staying in "unlucky" residue classes that produce fewer drains per kick. The finite fuel picture is a heuristic for why this might not persist: staying unlucky imposes more and more constraints on the bits of the starting number.

This "law" is not proved — it is essentially the Collatz conjecture itself — and it's where the +1+1 in 3x+13x+1 enters critically. The average drift doesn't depend on which odd cc is used, but which cycles exist does, as the next section shows.

The Role of cc ​

Varying cc while keeping n=3,y=2n=3, y=2 reveals a surprise:

ccμ\muStarts that pass through 1Distinct cycles reachedNotes
10.75100%1Only 1→4→2→11 \to 4 \to 2 \to 1 seen
30.750%13∣c3 \mid c: the 3x+13x+1 map on multiples of 3
50.7513%6Several cycles
70.7569%21 is not on a cycle: 1→10→5→22→⋯→51 \to 10 \to 5 \to 22 \to \dots \to 5
90.750%13∣c3 \mid c: the 3x+13x+1 map on multiples of 9
110.7519%3
130.7547%10

(Computed for the odd starts from 3 to 499; every one ended in a cycle.)

Criticality μ\mu is identical for all odd values of cc — it depends only on nn and yy. Every such system with n=3,y=2n=3, y=2 is subcritical, and for every odd cc from 1 to 19 every odd start from 3 to 999 settles into some cycle (computed). But cc determines the ground state landscape:

  • c≡0(mod3)c \equiv 0 \pmod{3}: after its first odd step an orbit stays among multiples of 3 for good (3x+c3x + c is then a multiple of 3, and halving keeps the factor), so it never comes back to 1. Every orbit tested ends in a cycle. For c=3c = 3 the map on multiples of 3, and for c=9c = 9 the map on multiples of 9, is the 3x+13x+1 map in disguise, so "always cycles" there is the Collatz conjecture again.
  • cc even: 3x+c3x + c is odd whenever xx is, so an odd number is never halved again and its orbit grows forever.
  • c=1c = 1: 1 lies on the cycle 1→4→2→11 \to 4 \to 2 \to 1, and every orbit tested ends there — a single observed ground state.

In physics terms: nn and yy determine the thermodynamics (does energy dissipate on average?). The constant cc determines the ground state degeneracy (how many stable configurations exist?). Among the systems tabulated here, classical Collatz and its two disguises (c=3c = 3 and c=9c = 9) are the ones with a single observed cycle; only for c=1c = 1 does that cycle pass through 1.