English

Non-overlapping codes

Discrete Mathematics 2016-11-15 v3 Information Theory Combinatorics math.IT

Abstract

We say that a qq-ary length nn code is \emph{non-overlapping} if the set of non-trivial prefixes of codewords and the set of non-trivial suffices of codewords are disjoint. These codes were first studied by Levenshtein in 1964, motivated by applications in synchronisation. More recently these codes were independently invented (under the name \emph{cross-bifix-free} codes) by Baji\'c and Stojanovi\'c. We provide a simple construction for a class of non-overlapping codes which has optimal cardinality whenever nn divides qq. Moreover, for all parameters nn and qq we show that a code from this class is close to optimal, in the sense that it has cardinality within a constant factor of an upper bound due to Levenshtein from 1970. Previous constructions have cardinality within a constant factor of the upper bound only when qq is fixed. Chee, Kiah, Purkayastha and Wang showed that a qq-ary length nn non-overlapping code contains at most qn/(2n1)q^n/(2n-1) codewords; this bound is weaker than the Levenshtein bound. Their proof appealed to the application in synchronisation: we provide a direct combinatorial argument to establish the bound of Chee \emph{et al}. We also consider codes of short length, finding the leading term of the maximal cardinality of a non-overlapping code when nn is fixed and qq\rightarrow \infty. The largest cardinality of non-overlapping codes of lengths 33 or less is determined exactly.

Keywords

Cite

@article{arxiv.1303.1026,
  title  = {Non-overlapping codes},
  author = {Simon R. Blackburn},
  journal= {arXiv preprint arXiv:1303.1026},
  year   = {2016}
}

Comments

14 pages. Extra explanations added at some points, and an extra citation. To appear in IEEE Trans Information Theory

R2 v1 2026-06-21T23:36:53.651Z