Back to Search Start Over

Computing primitively-rooted squares and runs in partial words

Authors :
Xufan Zhang
Justin Lazarow
Francine Blanchet-Sadri
Jordan Nikkel
J.D. Quigley
Source :
European Journal of Combinatorics. 68:223-241
Publication Year :
2018
Publisher :
Elsevier BV, 2018.

Abstract

This paper deals with two types of repetitions in strings: squares, which consist of two adjacent occurrences of substrings, and runs, which are periodic substrings that cannot be extended further to the left or right while maintaining the period. We show how to compute all the primitively-rooted squares in a given partial word, which is a sequence that may have undefined positions, called holes or wildcards, that match any letter of the alphabet over which the sequence is defined. We also describe an algorithm for computing all primitively-rooted runs in a given partial word and extend previous analyses on the number of runs to partial words.

Details

ISSN :
01956698
Volume :
68
Database :
OpenAIRE
Journal :
European Journal of Combinatorics
Accession number :
edsair.doi...........f82d59707cc8b1cc3edd5d6b4d62f691
Full Text :
https://doi.org/10.1016/j.ejc.2017.07.020