paper

Mutual Borders and Overlaps

arXiv:2010.14663

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 is said to be \emph{mutually bordered} if there exists a word that is a non-empty proper prefix of and suffix of , and there exists a word that is a non-empty proper suffix of and prefix of . In other words, is mutually bordered if overlaps and overlaps . We give a recurrence for the number of mutually bordered pairs of words. Furthermore, we show that, asymptotically, there are mutually bordered words of length- over a -letter alphabet, where is a constant. Finally, we show that the expected shortest overlap between pairs of words is bounded above by a constant.