Affine Orbit Structure
The affine structure of orbits within residue classes is due to Terras (1976) and Everett (1977). This page explains it in the dropping-set notation used on this site.
Statement
Theorem (Terras 1976, Everett 1977; stated in dropping-set notation). For any integer with dropping time and orbital oddity , within each residue class mod :
where is a constant depending only on the residue class, not on . The slope is the contraction ratio.
Similarly, the orbit sum is an exact affine function of within each residue class.
The theorem speaks about one residue class at a time. Whether every residue class of has the same , and so the same slope, is a separate question. Terras proved that each agrees, apart from at most finitely many integers, with a union of residue classes mod that all have the same . That there are no exceptions at all among is his coefficient stopping time conjecture. It is open, and it would imply that there are no nontrivial cycles (Lagarias, The 3x+1 problem and its generalizations, 1985). Checked by computer: there is no exception in any dropping set with , nor at any . In that range the slope is the same across all residue classes of , and only the intercept varies.
Why it matters
Collatz dynamics are piecewise-affine: within each residue class of a Dropping Set, the destination and the orbit sum are affine functions of the starting value (and so is the orbit maximum in every class I have checked, ). Each individual drop is simple; the difficulty is in how the pieces chain together. The contraction ratio connects directly to the list of possible dropping times: iff .
Examples
Table of verified slopes:
| Slope | Decimal | Example | ||
|---|---|---|---|---|
| 1 | 0 | 0.500 | ||
| 3 | 1 | 0.750 | ||
| 6 | 2 | 0.5625 | ||
| 8 | 3 | 0.844 | Two residue classes, same slope | |
| 11 | 4 | 0.633 | Three residue classes, same slope | |
| 13 | 5 | 0.949 | Seven residue classes, same slope |
Worked example for : All members satisfy . For : . Verify: . ✓
Checked exactly (using Fraction arithmetic) on the first four members of each of the 81,119 residue classes that make up the dropping sets with .
Proof
By induction on (number of Collatz steps).
Base case (): . ✓
Inductive step (): Assume after steps with parity word containing ones:
We must show this holds at step .
Case 1: is even (halving step, unchanged):
Slope = . ✓
Case 2: is odd ( step, ):
Slope = . ✓
Key insight (bit consumption): The parities of the first iterates are determined by whenever the -th step is a halving, as it is at a drop:
- Each even step consumes one bit of (requires knowing one more bit of to determine the next parity)
- Each odd step consumes no additional bits (the result of is always even, so the next parity is determined for free)
After steps with odd steps and even steps, exactly bits of have been consumed. Therefore, the parity word — and hence the entire affine map — is determined by .
Corollaries
Corollary 1 (Orbital Oddity). All members of in the same residue class share the same parity word, hence the same number of odd steps . That two different residue classes of the same also share is not proved in general; it would follow from the coefficient stopping time conjecture. It holds for every and every .
Corollary 2 (Affine Orbit Sums). Each intermediate value for is affine in (by the theorem at step ). Therefore the orbit sum is also affine in within each residue class. The orbit maximum is the largest of affine functions, which in general is only piecewise affine. In every dropping set with it is a single affine function on each residue class (checked by computer: the maximum is always reached at the step whose slope is largest). For larger the same holds for all large enough in a residue class; I have no proof for the smallest ones.
Corollary 3 (Period of ). Apart from at most finitely many exceptions, the members of are the integers in certain residue classes mod (Terras 1976). The period is . For there are no exceptions (checked by computer); that there are none for any is the coefficient stopping time conjecture.
Corollary 4 (Dropping Condition). A drop needs the contraction ratio to be below 1 (because ), which is equivalent to . So every dropping time satisfies . In every case checked (, and all ) the dropping time is exactly this smallest value, These are the "allowable" dropping times of OEIS A122437, whose own comments note that it is not known whether every obeys the formula. See Bit Destruction for the size of each drop.
Related Results
- Bit Destruction — the size of a drop, from the contraction ratio
- Mixing Modulo Powers of Two — how the factor spreads destinations over residue classes