Skip to content

The Countdown ​

The carry propagation in 3n+13n+1 is not random. It's a countdown timer.

The v₂ countdown ​

For any odd number mm, define v2(m+1)v_2(m+1) — the exponent of the largest power of 2 dividing m+1m+1. This number has a magical property:

It decreases by exactly 1 at every non-dropping Syracuse step.

Watch it in action:

m =31m≡3 mod 4
v₂(m+1)
5
Counts down → forces Set₃
v₂(m−1)
1
Falls by 2 per weak drop → ends the run of weak drops
Drop depth
1
= v₂(3m+1) = bits matching -1/3
Stepv₂(m+1)Depth
0
5
1

Step through the orbit and watch the v2(m+1)v_2(m+1) counter. When m≡3(mod4)m \equiv 3 \pmod{4} (non-dropping step), the counter ticks down: v2→v2−1v_2 \to v_2 - 1. When it reaches 1, the current value is m≡1(mod4)m \equiv 1 \pmod{4} — a member of Set₃ — and the next odd value is smaller than it. (The two widgets on this page are exact for starts below 100,000. Above about 113,000 some orbits pass what their 32-bit arithmetic can hold, and they then show a wrong orbit.)

This is deterministic. Not statistical. Not "on average." The countdown will reach 1, and the orbit will take a step down. It is a step down from the current value, not a fall below the starting value: the orbit climbed by a factor of about 3/23/2 at every tick, and more often than not it is still above where the countdown began (in 57 per cent of cases, for the m≡3(mod4)m \equiv 3 \pmod{4} below 200,000).

Why does the countdown work? ​

Theorem (elementary; no novelty claimed). For m≡3(mod4)m \equiv 3 \pmod{4}: v2(S(m)+1)=v2(m+1)−1v_2(S(m)+1) = v_2(m+1) - 1.

Proof. Write m=2vc−1m = 2^v c - 1 where cc is odd and v=v2(m+1)v = v_2(m+1). The Syracuse step gives S(m)=(3m+1)/2=3⋅2v−1c−1S(m) = (3m+1)/2 = 3 \cdot 2^{v-1} c - 1. Then S(m)+1=3⋅2v−1cS(m) + 1 = 3 \cdot 2^{v-1} c, so v2(S(m)+1)=v−1v_2(S(m)+1) = v-1. ∎

Starting from vv: after exactly v−1v-1 steps, v2=1v_2 = 1, meaning m≡1(mod4)m \equiv 1 \pmod{4}. The orbit has reached a member of Set₃.

The two-bit countdown ​

A member of Set₃ steps down to about 3/4 of its value, or lower. A "weak drop" is the 3/4 case. Not very powerful. But there's a second countdown: v2(m−1)v_2(m-1) counts down through a run of weak drops.

At Set₃ encounters with m≡1(mod8)m \equiv 1 \pmod{8}: the drop depth is only 2 (weak, factor 3/4). But with m≡5(mod8)m \equiv 5 \pmod{8}: the drop depth is ≥3\geq 3 (medium or strong, factor ≤3/8\leq 3/8).

The second countdown ends every run of weak drops. Each weak drop lowers v2(m−1)v_2(m-1) by exactly 2: write m=1+2wcm = 1 + 2^w c with cc odd and w≥3w \geq 3, and the next odd value is (3m+1)/4=1+3⋅2w−2c(3m+1)/4 = 1 + 3 \cdot 2^{w-2} c. If v2(m−1)v_2(m-1) started even, the run ends at v2(m−1)=2v_2(m-1) = 2, which is m≡5(mod8)m \equiv 5 \pmod{8}: a deep drop. If it started odd, the run ends at v2(m−1)=1v_2(m-1) = 1, which is m≡3(mod4)m \equiv 3 \pmod{4}: no deep drop, and the orbit starts climbing again. Among the m≡1(mod8)m \equiv 1 \pmod{8} the odd case is the commoner one, two times in three.

Drop depth = 2-adic distance from −1/3-1/3 ​

Here's a lovely way to see it: the drop depth v2(3m+1)v_2(3m+1) counts how many of the lowest binary digits of mm match the pattern …010101\ldots 010101.

That pattern is −1/3-1/3 in the 2-adic integers. The number −1/3=…010101012-1/3 = \ldots 01010101_2 (the alternating binary pattern).

v2(3m+1)≥k⟺m≡−13(mod2k)v_2(3m+1) \geq k \quad \Longleftrightarrow \quad m \equiv -\tfrac{1}{3} \pmod{2^k}

Explore it: watch the binary digits of each orbit value alongside the −1/3-1/3 pattern. Green highlights show matching digits.

m =85
00000000000001010101
−1/3 =…010101
01010101010101010101
8matching digits (from LSB)
8drop depth = v₂(3m+1)
8

Click the depth numbers above to step through the orbit. Deep drops (green) = more digits matching −1/3.

Deep drops happen when mm "accidentally" agrees with −1/3-1/3 in many binary digits. The more digits match, the deeper the drop:

Matching digitsDepthFactorResidue
223/4m≡1(mod8)m \equiv 1 \pmod{8}
333/8m≡13(mod16)m \equiv 13 \pmod{16}
443/16m≡5(mod32)m \equiv 5 \pmod{32}
553/32m≡53(mod64)m \equiv 53 \pmod{64}
663/64m≡21(mod128)m \equiv 21 \pmod{128}

Each depth level has exactly one residue class. The deeper levels give more powerful contraction but occur less frequently (density 1/2k1/2^k).

What the countdowns give, and what they don't ​

The countdown hierarchy:

  1. One-Bit Countdown (elementary, proved above): v2(m+1)v_2(m+1) decreases by 1 per step → every climb ends at a member of Set₃
  2. Two-Bit Countdown (elementary, shown above): v2(m−1)v_2(m-1) decreases by 2 per weak drop → every run of weak drops ends, in a deep drop if v2(m−1)v_2(m-1) started even and in a new climb if it started odd
  3. Bounce regime: at v2(m−1)=3v_2(m-1) = 3 a weak drop is followed straight away by a new climb, and the orbit can go round again. How long it can keep bouncing is not proved; the next chapter gives a heuristic picture.

The countdowns are deterministic — they work for every orbit, not just typical ones. But they do not show convergence: each drop contracts, and the orbit grows between drops. Whether the drops always win is the open question. The next chapter is one way of thinking about it.