On Periodicity Lemma for Partial Words

We investigate the function $L(h,p,q)$, called here the threshold function, related to periodicity of partial words (words with holes). The value $L(h,p,q)$ is defined as the minimum length threshold which guarantees that a natural extension of the periodicity lemma is valid for partial words with $h$ holes and (strong) periods $p,q$. We show how to evaluate the threshold function in $O(\log p + \log q)$ time, which is an improvement upon the best previously known $O(p+q)$-time algorithm. In a series of papers, the formulae for the threshold function, in terms of $p$ and $q$, were provided for each fixed $h \le 7$. We demystify the generic structure of such formulae, and for each value $h$ we express the threshold function in terms of a piecewise-linear function with $O(h)$ pieces.

[1]  Filippo Mignosi,et al.  Generalizations of the Periodicity Theorem of Fine and Wilf , 1994, CAAP.

[2]  Francine Blanchet-Sadri,et al.  Fine and Wilf's Theorem for Partial Words with Arbitrarily Many Weak Periods , 2010, Int. J. Found. Comput. Sci..

[3]  Shu Wang,et al.  A new approach to the periodicity lemma on strings with holes , 2009, Theoretical Computer Science.

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

[5]  Jeffrey Shallit,et al.  Variations on a Theorem of Fine & Wilf , 2001, MFCS.

[6]  Juhani Karhumäki,et al.  Fine and Wilf's Theorem for k-Abelian Periods , 2013, Int. J. Found. Comput. Sci..

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

[8]  A. M. Shur,et al.  Partial words and the interaction property of periods , 2004 .

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

[10]  Mukarram Ahmad,et al.  Continued fractions , 2019, Quadratic Number Theory.

[11]  Francine Blanchet-Sadri,et al.  Graph connectivity, partial words, and a theorem of Fine and Wilf , 2008, Inf. Comput..

[12]  Jeffrey Shallit,et al.  ALGEBRAIC COMBINATORICS ON WORDS (Encyclopedia of Mathematics and its Applications 90) By M. LOTHAIRE: 504 pp., £60.00, ISBN 0 521 81220 8 (Cambridge University Press, 2002) , 2003 .

[13]  M. Lothaire Applied Combinatorics on Words (Encyclopedia of Mathematics and its Applications) , 2005 .

[14]  Ian Richards,et al.  Continued Fractions Without Tears , 1981 .

[15]  Juhani Karhumäki,et al.  Fine and Wilf's Theorem for k-Abelian Periods , 2012, Int. J. Found. Comput. Sci..

[16]  William F. Smyth,et al.  A New Periodicity Lemma , 2005, SIAM J. Discret. Math..

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

[18]  R. Tijdeman,et al.  Fine and Wilf words for any periods II , 2009, Theor. Comput. Sci..

[19]  Florin Manea,et al.  Fine and Wilf's Theorem and Pseudo-repetitions , 2012, MFCS.

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

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

[22]  Tony van Ravenstein The Three Gap Theorem (Steinhaus Conjecture) , 1988, Journal of the Australian Mathematical Society. Series A. Pure Mathematics and Statistics.

[23]  Frantisek Franek,et al.  The New Periodicity Lemma revisited , 2016, Discret. Appl. Math..

[24]  Arseny M. Shur,et al.  On the Periods of Partial Words , 2001, MFCS.

[25]  M. Lothaire,et al.  Algebraic Combinatorics on Words: Index of Notation , 2002 .

[26]  Francine Blanchet-Sadri,et al.  Abelian periods, partial words, and an extension of a theorem of Fine and Wilf , 2013, RAIRO Theor. Informatics Appl..

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

[28]  Francine Blanchet-Sadri,et al.  Periods in partial words: An algorithm , 2012, J. Discrete Algorithms.