Divisibility by exactly one modulus and Fraenkel's balanced word
Take moduli 2 ≤ a < b < c, none dividing another. List in increasing order the integers that are divisible by exactly one of a, b, c, and record which modulus divides each one. This gives a periodic word over {A, B, C}. We show that this word is balanced with pairwise distinct letter frequencies if and only if (a, b, c) is a multiple of (2, 3, 5) or of (6, 10, 15). In both cases the word is Fraenkel's word ABACABA, repeated. For pairwise coprime moduli only (2, 3, 5) remains. The proof has two steps. The symmetry n ↦ −n forces a balanced word to begin with Fraenkel's word. A direct analysis then shows that only the two ratios 2:3:5 and 6:10:15 produce even the first ten letters correctly. We also show that if arbitrary residue classes are allowed in place of multiples, Fraenkel's word arises in many more ways, so plain divisibility is the restrictive case. Finally, we give computational evidence that the analogous phenomenon does not occur for four moduli, and conjecture that it never occurs for four or more. Files: the paper (PDF) and Oberoi_2026_Fraenkel_word_divisibility_code.zip, which contains the Python 3 and C99 programs used for every computation in the paper, with a README mapping each claim to a program and a single end-to-end check (check_all.py).
Authors
- Rishabh Oberoi (ORCID: https://orcid.org/0009-0009-1234-8729)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24637269
- Primary Topic
- semigroups and automata theory
- Type
- preprint