English

Mutual Borders and Overlaps

Discrete Mathematics 2022-06-30 v2 Combinatorics

Abstract

A word is said to be \emph{bordered} if it contains a non-empty proper prefix that is also a suffix. We can naturally extend this definition to pairs of non-empty words. A pair of words (u,v)(u,v) is said to be \emph{mutually bordered} if there exists a word that is a non-empty proper prefix of uu and suffix of vv, and there exists a word that is a non-empty proper suffix of uu and prefix of vv. In other words, (u,v)(u,v) is mutually bordered if uu overlaps vv and vv overlaps uu. We give a recurrence for the number of mutually bordered pairs of words. Furthermore, we show that, asymptotically, there are ck2nc\cdot k^{2n} mutually bordered words of length-nn over a kk-letter alphabet, where cc is a constant. Finally, we show that the expected shortest overlap between pairs of words is bounded above by a constant.

Cite

@article{arxiv.2010.14663,
  title  = {Mutual Borders and Overlaps},
  author = {Daniel Gabric},
  journal= {arXiv preprint arXiv:2010.14663},
  year   = {2022}
}
R2 v1 2026-06-23T19:42:08.500Z