research

Construction Of A Rich Word Containing Given Two Factors

Abstract

A finite word ww with w=n\vert w\vert=n contains at most n+1n+1 distinct palindromic factors. If the bound n+1n+1 is attained, the word ww is called \emph{rich}. Let \Factor(w) be the set of factors of the word ww. 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 u,vu,v if there is a rich word ww such that \{u,v\}\subseteq \Factor(w). We present a response to this open question:\\ If w1,w2,ww_1, w_2,w are rich words, m=max{w1,w2}m=\max{\{\vert w_1\vert,\vert w_2\vert\}}, and \{w_1,w_2\}\subseteq \Factor(w) then there exists also a rich word wˉ\bar w such that \{w_1,w_2\}\subseteq \Factor(\bar w) and wˉm2k(m)+2\vert \bar w\vert\leq m2^{k(m)+2}, where k(m)=(q+1)m2(4q10m)log2mk(m)=(q+1)m^2(4q^{10}m)^{\log_2{m}} and qq is the size of the alphabet. Hence it is enough to check all rich words of length equal or lower to m2k(m)+2m2^{k(m)+2} in order to decide if there is a rich word containing factors w1,w2w_1,w_2

    Similar works

    Full text

    thumbnail-image

    Available Versions

    Last time updated on 10/08/2021