A quadratic alphabet threshold for non-overlapping codes
Let q₀(n) be the least integer such that every alphabet of size q ≥ q₀(n) admits a partition I ⊔ J for which Iⁿ⁻¹J is a maximum non-overlapping code of length n. Chee proved that q₀(n) exists. We prove q₀(n) = n²/2 + O(n) and the finite bound q₀(n) ≤ 4n(n−1). The upper bound compares a uniform loss in the real partition relaxation with the cost of rounding a single alphabet split. Moving one two-letter word between parts produces an infinite family of exceptions and disproves a conjecture of Stanovnik, Moškon and Mraz. We determine the maximum for every alphabet size at lengths five and six. Their thresholds are 4 and 10, respectively. At length six the exceptional alphabet sizes are 2, 3, 4, 9. On nine symbols the maximum is 33,872, exceeding the best I⁵J code by 258. The archive includes the manuscript and a Lean 4 verification of the main theorems for actual finite word codes. Full text (PDF).
Authors
- Qian PENG
- Peiwei Wu (ORCID: https://orcid.org/0009-0008-3096-1669)
Institutions
- Shandong Medical and Pharmaceutical University (CN)
- The University of Melbourne (AU)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24590035
- Primary Topic
- semigroups and automata theory
- Type
- preprint