On the Number of Closed Factors in a Word

Golnaz Badkobeh,Gabriele Fici,Zsuzsanna Lipták
DOI: https://doi.org/10.48550/arXiv.1305.6395
2014-12-01
Abstract:A closed word (a.k.a. periodic-like word or complete first return) is a word whose longest border does not have internal occurrences, or, equivalently, whose longest repeated prefix is not right special. We investigate the structure of closed factors of words. We show that a word of length $n$ contains at least $n+1$ distinct closed factors, and characterize those words having exactly $n+1$ closed factors. Furthermore, we show that a word of length $n$ can contain $\Theta(n^{2})$ many distinct closed factors.
Formal Languages and Automata Theory,Combinatorics
What problem does this paper attempt to address?