A quadratic alphabet threshold for non-overlapping codes

A mix of human-written and AI-generated textHuman understanding: some partscs.IT — Information Theory

Contributed by Peiwei Wu ↗, Qian Peng ↗

Version 1 / Nov 29, 2026 / CC BY 4.0

Abstract

Let q0(n)q_0(n) be the least integer such that every alphabet of size q≥q0(n)q\ge q_0(n) admits a partition I⊔JI\sqcup J for which In−1JI^{n-1}J is a maximum non-overlapping code of length nn. Chee proved that q0(n)q_0(n) exists. We prove q0(n)=n2/2+O(n)q_0(n)=n^2/2+O(n) and the finite bound q0(n)≤4n(n−1)q_0(n)\le4n(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 44 and 1010, respectively. At length six the exceptional alphabet sizes are 2,3,4,92,3,4,9. On nine symbols the maximum is 33,87233{,}872, exceeding the best I5JI^5J code by 258.

Author comments: The Lean formalization and verification instructions are available at https://github.com/PEIWEIWU-AYS/non-overlapping-codes-blackburn-threshold. The archived preprint and proof files are available at https://doi.org/10.5281/zenodo.24590143.

Provenance statement

Peiwei Wu and Qian Peng contributed to the research ideas, discussed the mathematical arguments, and reviewed the manuscript and its results. They used OpenAI Codex to develop the mathematical derivations, draft the manuscript, and write the accompanying Lean formalization.

Tools used

OpenAI
Codex
Lean
LeanVersion 4.19.0

References

  1. S. R. Blackburn, Non-overlapping codes, IEEE Trans. Inform. Theory 61 (2015), 4890--4894. doi:10.1109/TIT.2015.2456634 (https://doi.org/10.1109/TIT.2015.2456634).DOI
  2. Y. M. Chee, A proof of Blackburn's conjecture on non-overlapping codes, 2026. arXiv:2611.28776v2 (https://arxiv.org/abs/2611.28776v2).arXiv
  3. E. Fimmel, C. J. Michel, F. Pirot, J.-S. Sereni and L. Strüngmann, Diletter and triletter comma-free codes over finite alphabets (https://ajc.maths.uq.edu.au/pdf/86/ajc_v86_p233.pdf), Australas. J. Combin. 86 (2023), 233--270.link
  4. L. Stanovnik, M. Moškon and M. Mraz, In search of maximum non-overlapping codes, Des. Codes Cryptogr. 92 (2024), 1299--1326. doi:10.1007/s10623-023-01344-z (https://doi.org/10.1007/s10623-023-01344-z).DOI
  5. L. Stanovnik, M. Moškon and M. Mraz, Computational data for In search of maximum non-overlapping codes (https://github.com/magdevska/nono-codes), dataset accompanying SMM .link

Version history

  1. v1 · 7 pagesSubmitted by Peiwei WuThe Lean formalization and verification instructions are available at https://github.com/PEIWEIWU-AYS/non-overlapping-codes-blackburn-threshold. The archived preprint and proof files are available at https://doi.org/10.5281/zenodo.24590143.CurrentNov 29, 2026