Positive exponent prefixes are counted by a binomial coefficient
Provedpositive_exponent_prefix_cardinalitycollatzcompositionsfinite-countingnumber-theorysyracuse
For any natural k and any positive natural threshold n', the finite set of k-tuples of positive exponents whose sum is strictly less than n' has cardinality Nat.choose (n' - 1) k. The proof appends the positive slack n' minus the exponent sum, obtaining a positive composition of n' with k+1 parts, and identifies the k interior cut positions with a k-element subset of Fin (n' - 1). The statement includes the empty tuple case k=0 and the boundary case n'=1.
Preamble
import Mathlib.Combinatorics.Enumerative.Composition import Mathlib.Data.Fintype.Powerset set_option autoImplicit false open scoped BigOperators open Classical
Formal statement
theorem positive_exponent_prefix_cardinality (k n' : ℕ) (hn' : 0 < n') : Fintype.card {a : Fin k → Fin n' // (∀ i, 0 < (a i).val) ∧ (∑ i, (a i).val) < n'} = Nat.choose (n' - 1) k := by sorrySource
Terence Tao, Almost all orbits of the Collatz map attain almost bounded values, Forum of Mathematics, Pi 10 (2022), e12; arXiv:1909.03562v7, Section 4, proof of Lemma 4.1. https://arxiv.org/html/1909.03562v7 . This is the deterministic positive-prefix counting factor only; it is narrower than Tao's probabilistic lemma and makes no orbit-distribution claim.