An Improved Bound for an Extension of Fine and Wilf's Theorem and Its Optimality

Considering two DNA molecules which are Watson-Crick (WK) complementary to each other “equivalent” with respect to the information they encode enables us to extend the classical notions of repetition, period, and power. WK-complementarity has been modelled mathematically by an antimorphic involution t, i.e., a function t such that t(xy) = t(y)t(x) for any x, y ∞ Sa, and t 2 is the identity. The WK-complementarity being thus modelled, any word which is a repetition of u and t(u) such as uu, ut(u)u, and ut(u)t(u)t(u) can be regarded repetitive in this sense, and hence, called a t-power of u. Taking the notion of t-power into account, the Fine and Wilf’s theorem was extended as “given an antimorphic involution t and words u, v, if a t-power of u and a t-power of v have a common prefix of length at least b(|u|, |v|) = 2|u| + |v| - gcd(|u|, |v|), then u and v are t-powers of a same word.” In this paper, we obtain an improved bound b′(|u|, |v|) = b(|u|, |v|) - [gcd(|u|, |v|)/2]. Then we show all the cases when this bound is optimal by providing all the pairs of words (u, v) such that they are not t-powers of a same word, but one can construct a t-power of u and a t-power of v whose maximal common prefix is of length equal to b′(|u|, |v|) − 1. Furthermore, we characterize such words in terms of Sturmian words.

[1]  Aldo de Luca,et al.  Pseudopalindrome closure operators in free monoids , 2006, Theor. Comput. Sci..

[2]  Lila Kari,et al.  Properties of Pseudo-Primitive Words and their Applications , 2010, Int. J. Found. Comput. Sci..

[3]  Lila Kari,et al.  On a Special Class of Primitive Words , 2008, MFCS.

[4]  H. Wilf,et al.  Uniqueness theorems for periodic functions , 1965 .

[5]  Christian Choffrut,et al.  Combinatorics of Words , 1997, Handbook of Formal Languages.

[6]  Lucian Ilie,et al.  Fine and Wilf's Theorem for Abelian Periods , 2006, Bull. EATCS.

[7]  Lucian Ilie,et al.  Generalised fine and Wilf's theorem for arbitrary number of periods , 2005, Theor. Comput. Sci..

[8]  Pedro V. Silva,et al.  On Fine and Wilf's theorem for bidimensional words , 2003, Theor. Comput. Sci..

[9]  Filippo Mignosi,et al.  Some Combinatorial Properties of Sturmian Words , 1994, Theor. Comput. Sci..

[10]  Jean Berstel,et al.  Partial Words and a Theorem of Fine and Wilf , 1999, Theor. Comput. Sci..

[11]  Lila Kari,et al.  An extension of the Lyndon-Schützenberger result to pseudoperiodic words , 2011, Inf. Comput..

[12]  Jeffrey Shallit,et al.  Periodicity, morphisms, and matrices , 2003, Theor. Comput. Sci..

[13]  Jacques Justin,et al.  On a paper by Castelli, Mignosi, Restivo , 2000, RAIRO Theor. Informatics Appl..

[14]  Antonio Restivo,et al.  Fine and Wilf's Theorem for Three Periods and a Generalization of Sturmian Words , 1999, Theor. Comput. Sci..

[15]  Francine Blanchet-Sadri,et al.  Partial words and a theorem of Fine and Wilf revisited , 2002, Theor. Comput. Sci..

[16]  Lila Kari,et al.  On a special class of primitive words , 2010, Theor. Comput. Sci..