English

Doubling modulo odd integers, generalizations, and unexpected occurrences

Number Theory 2025-04-25 v1

Abstract

The starting point of this work is an equality between two quantities AA and BB found in the literature, which involve the {\em doubling-modulo-an-odd-integer} map, i.e., xN2xmod(2n+1)x\in {\mathbb N} \mapsto 2x \bmod{(2n+1)} for some positive integer nn. More precisely, this doubling map defines a permutation σ2,n\sigma_{2,n} and each of AA and BB counts the number C2(n)C_2(n) of cycles of σ2,n\sigma_{2,n}, hence A=BA=B. In the first part of this note, we give a direct proof of this last equality. To do so, we consider and study a generalized (k,n)(k,n)-perfect shuffle permutation σk,n\sigma_{k,n}, where we multiply by an integer k2k\ge 2 instead of 22, and its number Ck(n)C_k(n) of cycles. The second part of this note lists some of the many occurrences and applications of the doubling map and its generalizations in the literature: in mathematics (combinatorics of words, dynamical systems, number theory, correcting algorithms), but also in card-shuffling, juggling, bell-ringing, poetry, and music composition.

Keywords

Cite

@article{arxiv.2504.17564,
  title  = {Doubling modulo odd integers, generalizations, and unexpected occurrences},
  author = {Jean-Paul Allouche and Manon Stipulanti and Jia-Yan Yao},
  journal= {arXiv preprint arXiv:2504.17564},
  year   = {2025}
}
R2 v1 2026-06-28T23:09:56.086Z