Skip to content

Affine Orbit Structure

Statement

Theorem (Affine Orbit Structure). For any integer nn with dropping time kk and orbital oddity ss, within each residue-class subgroup mod 2ks2^{k-s}:

dest(n)=3s2ksn+C\text{dest}(n) = \frac{3^s}{2^{k-s}} \cdot n + C

where CC is a constant depending only on the subgroup (residue class), not on nn. The slope 3s/2ks3^s / 2^{k-s} — the contraction ratio — is the same across all subgroups of Dsetk\text{Dset}_k. Only the intercept CC varies.

Similarly, the orbit sum j=0k1fj(n)\sum_{j=0}^{k-1} f^j(n) and orbit maximum maxjfj(n)\max_j f^j(n) are exact affine functions of nn within each subgroup.

Significance

This theorem reveals that Collatz dynamics are piecewise-affine: within each residue class of a Dropping Set, the destination, orbit sum, and orbit maximum are all linear functions of the starting value. Every drop is a linear map, making orbits algebraically tractable rather than chaotic. The universal contraction ratio 3s/2ks3^s/2^{k-s} connects directly to the Odd Stopping Time Spectrum: 3s/2ks<13^s/2^{k-s} < 1 iff k>slog26k > s \cdot \log_2 6.

Examples

Table of verified slopes:

kkssSlope 3s/2ks3^s/2^{k-s}DecimalExample
101/21/20.500dest=n/2\text{dest} = n/2
313/43/40.750dest=34n+14\text{dest} = \frac{3}{4}n + \frac{1}{4}
629/169/160.5625dest=916n+516\text{dest} = \frac{9}{16}n + \frac{5}{16}
8327/3227/320.844Two subgroups, same slope
11481/12881/1280.633Three subgroups, same slope
135243/256243/2560.949Seven subgroups, same slope

Worked example for Dset3\text{Dset}_3: All members satisfy n1(mod4)n \equiv 1 \pmod{4}. For n=5n = 5: dest=34(5)+14=164=4\text{dest} = \frac{3}{4}(5) + \frac{1}{4} = \frac{16}{4} = 4. Verify: 516845 \to 16 \to 8 \to 4. ✓

Verified exactly (using Fraction arithmetic) for all kk up to 37.

Proof

By induction on kk (number of Collatz steps).

Base case (k=0k = 0): f0(n)=n=3020n+0f^0(n) = n = \frac{3^0}{2^0} n + 0. ✓

Inductive step (kk+1k \to k+1): Assume after kk steps with parity word w=(w0,,wk1)w = (w_0, \ldots, w_{k-1}) containing ss ones:

fk(n)=3s2ksn+Cwf^k(n) = \frac{3^s}{2^{k-s}} n + C_w

We must show this holds at step k+1k+1.

Case 1: fk(n)f^k(n) is even (halving step, ss unchanged):

fk+1(n)=fk(n)2=3s2ks+1n+Cw2f^{k+1}(n) = \frac{f^k(n)}{2} = \frac{3^s}{2^{k-s+1}} n + \frac{C_w}{2}

Slope = 3s/2(k+1)s3^s / 2^{(k+1)-s}. ✓

Case 2: fk(n)f^k(n) is odd (3x+13x+1 step, ss+1s \to s+1):

fk+1(n)=3fk(n)+1=3s+12ksn+3Cw+1f^{k+1}(n) = 3 \cdot f^k(n) + 1 = \frac{3^{s+1}}{2^{k-s}} n + 3C_w + 1

Slope = 3s+1/2(k+1)(s+1)3^{s+1} / 2^{(k+1)-(s+1)}. ✓

Key insight (bit consumption): The parity of fk(n)f^k(n) is determined by nmod2ksn \bmod 2^{k-s}:

  • Each even step consumes one bit of nn (requires knowing one more bit of nn to determine the next parity)
  • Each odd step consumes no additional bits (the result of 3x+13x+1 is always even, so the next parity is determined for free)

After kk steps with ss odd steps and ksk-s even steps, exactly ksk-s bits of nn have been consumed. Therefore, the parity word — and hence the entire affine map — is determined by nmod2ksn \bmod 2^{k-s}.

Corollaries

Corollary 1 (Orbital Oddity Invariance). All members of Dsetk\text{Dset}_k in the same residue class share the same parity word, hence the same number of odd steps ss. Since all residue classes defining Dsetk\text{Dset}_k have the same kk and the same ss (otherwise they'd belong to a different set), orbital oddity is constant within Dsetk\text{Dset}_k.

Corollary 2 (Affine Orbit Sums). Each intermediate value fj(n)f^j(n) for j=0,,k1j = 0, \ldots, k-1 is affine in nn (by the theorem at step jj). Therefore the orbit sum j=0k1fj(n)\sum_{j=0}^{k-1} f^j(n) and orbit max maxjfj(n)\max_j f^j(n) are also affine in nn within each subgroup.

Corollary 3 (Period of Dsetk\text{Dset}_k). Members of Dsetk\text{Dset}_k are exactly the integers in certain residue classes mod 2ks2^{k-s}. The period is 2ks2^{k-s}.

Corollary 4 (Dropping Condition). The contraction ratio 3s/2ks<13^s / 2^{k-s} < 1 is equivalent to k>slog26k > s \cdot \log_2 6, linking to the Odd Stopping Time Spectrum: k=slog26k = \lceil s \cdot \log_2 6 \rceil.