Lyndon Words, the Three Squares Lemma, and Primitive Squares
Lyndon Words, the Three Squares Lemma, and Primitive Squares
复制标题
林登词、三平方引理和原平方
DOI:
10.1007/978-3-030-59212-7_19
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Yuto Nakashima
中科院分区:
文献类型:
--
作者:
Hideo Bannai;Takuya Mieno;Yuto Nakashima
We revisit the so-called “Three Squares Lemma” by Crochemore and Rytter [Algorithmica 1995] and, using arguments based on Lyndon words, derive a more general variant which considers three overlapping squares which do not necessarily share a common prefix. We also give an improved upper bound ofon the maximum number of (occurrences of) primitively rooted squares in a string of lengthn, also using arguments based on Lyndon words. To the best of our knowledge, the only known upper bound was, whereis the golden ratio, reported by Fraenkel and Simpson [TCS 1999] obtained via the Three Squares Lemma.