The overlap gap between left-infinite and right-infinite words
arXiv:1804.10461
Abstract
Given two finite words and of equal length, define the \emph{overlap gap between and }, denoted , as the least integer for which there exist words and of length such that or . Informally, the overlap gap measures the outside parts of the greatest overlap of the given words. For a left-infinite word and a right-infinite word , let be the function defined, for each non-negative integer , by , where and are, respectively, the suffix of and the prefix of of length . Also, denote by the image of the function . In this paper, we show that is a finite set if and only if and are ultimately periodic infinite words of the form and for some finite words , and .