A single-cycle criterion for the carry-swap chain: an odd–even dichotomy
We prove that the orbit of 0^n under the carry-swap chain Θq is a single cycle of length q^n exactly when q is odd or n ≤ 2. Counting self-loops, the maximum in-degree is two, so for odd q this gives a degree-two Hamiltonian network at every n and every odd alphabet size. Odd q is handled layer by layer: Ti = q^(i+1) follows from a block identity, a segment-order lemma and equidistribution on the first i+1 coordinates. For even q the first layer is explicit (T1 = q^2), its block map is the identity, and each further layer can multiply the period by at most q, which cannot reach q^n for n ≥ 3. Twelve pages, three figures. The proofs are unconditional; the tables are only checks. The download has the LaTeX sources, the figure files, a small script that reruns the claim, and an earlier Chinese version kept for comparison. This record is separate from my loop-free manuscript, now under review at Natural Computing. Self-loops count here and are excluded there. Neither statement implies the other.
Authors
- Longkun Ge
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24628108
- Primary Topic
- semigroups and automata theory
- Type
- preprint