Lyndon Words, the Three Squares Lemma, and Primitive Squares

06/24/2020
by   Hideo Bannai, et al.
0

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 of nlog_2 n on the maximum number of (occurrences of) primitively rooted squares in a string of length n, also using arguments based on Lyndon words. To the best of our knowledge, the only known upper bound was n log_ϕ n ≈ 1.441nlog_2 n, where ϕ is the golden ratio, reported by Fraenkel and Simpson [TCS 1999] obtained via the Three Squares Lemma.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/01/2023

Order-Preserving Squares in Strings

An order-preserving square in a string is a fragment of the form uv wher...
research
05/25/2022

Upper bound for the number of privileged words

A non-empty word w is a border of a word u if | w|<| u| and w is both a ...
research
11/25/2019

Upper bound for the number of closed and privileged words

A non-empty word w is a border of the word u if | w|<| u| and w is both ...
research
07/16/2020

The Simplest Binary Word with Only Three Squares

We re-examine previous constructions of infinite binary words containing...
research
06/05/2022

Packing, Hitting, and Coloring Squares

Given a family of squares in the plane, their packing problem asks for t...
research
01/09/2018

An Improved Analysis of Least Squares Superposition Codes with Bernoulli Dictionary

For the additive white Gaussian noise channel with average power constra...
research
10/11/2018

A Constraint Propagation Algorithm for Sums-of-Squares Formulas over the Integers

Sums-of-squares formulas over the integers have been studied extensively...

Please sign up or login with your details

Forgot password? Click here to reset