Doubling modulo odd integers, generalizations, and unexpected occurrences
Abstract
The starting point of this work is an equality between two quantities A and B found in the literature, which involve the doubling-modulo-an-odd-integer map, i.e., x∈ N 2x (2n+1) for some positive integer n. More precisely, this doubling map defines a permutation σ2,n and each of A and B counts the number C2(n) of cycles of σ2,n, hence A=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)-perfect shuffle permutation σk,n, where we multiply by an integer k 2 instead of 2, and its number Ck(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.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.