Construction Of A Rich Word Containing Given Two Factors
arXiv:1904.10202 · doi:10.1007/978-3-030-28796-2_23
Abstract
A finite word with contains at most distinct palindromic factors. If the bound is attained, the word is called \emph{rich}. Let $\Factor(w)$ be the set of factors of the word . It is known that there are pairs of rich words that cannot be factors of a common rich word. However it is an open question how to decide for a given pair of rich words if there is a rich word such that $\{u,v\}\subseteq \Factor(w)$. We present a response to this open question:\\ If are rich words, , and $\{w_1,w_2\}\subseteq \Factor(w)$ then there exists also a rich word such that $\{w_1,w_2\}\subseteq \Factor(\bar w)$ and , where and is the size of the alphabet. Hence it is enough to check all rich words of length equal or lower to in order to decide if there is a rich word containing factors .