2015
DOI: 10.1016/j.dam.2014.08.016
|View full text |Cite
|
Sign up to set email alerts
|

How many double squares can a string contain?

Abstract: Counting the types of squares rather than their occurrences, we consider the problem of bounding the number of distinct squares in a string. Fraenkel and Simpson showed in 1998 that a string of length n contains at most 2n distinct squares. Ilie presented in 2007 an asymptotic upper bound of 2n−Θ(log n). We show that a string of length n contains at most 11n/6 distinct squares. This new upper bound is obtained by investigating the combinatorial structure of double squares and showing that a string of length n … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
75
0

Year Published

2015
2015
2021
2021

Publication Types

Select...
5
3

Relationship

1
7

Authors

Journals

citations
Cited by 45 publications
(77 citation statements)
references
References 8 publications
0
75
0
Order By: Relevance
“…Moreover, as shown in [4], for a balanced double square (u, v : u 1 , u 2 , e 1 , e 2 ) 0 ≤ lcs(u 2 u 2 , u 2 u 2 ) + lcp(u 2 u 2 , u 2 u 2 ) ≤ |u 1 |−2.…”
Section: The Notion Of Inversion Factor Was Introduced In [4]mentioning
confidence: 88%
See 2 more Smart Citations
“…Moreover, as shown in [4], for a balanced double square (u, v : u 1 , u 2 , e 1 , e 2 ) 0 ≤ lcs(u 2 u 2 , u 2 u 2 ) + lcp(u 2 u 2 , u 2 u 2 ) ≤ |u 1 |−2.…”
Section: The Notion Of Inversion Factor Was Introduced In [4]mentioning
confidence: 88%
“…A right shift by one position of a substring The notion of double squares and their factorization can be traced to Lam [10], and was further investigated and generalized by Deza, Franek, and Thierry [4] and by Bai, Franek, and Smyth [1]. Given a balanced double square (u, v), the unique 4-tuple (u 1 , u 2 , e 1 , e 2 ) yielded by Lemma 5 is referred to as the canonical factorization of the double square (u, v) and is denoted by (u, v : u 1 , u 2 , e 1 , e 2 ).…”
Section: Preliminaries and Notationsmentioning
confidence: 99%
See 1 more Smart Citation
“…Obviously, a word W of length n may contain Θ(n 2 ) square factors (e.g. W = a n ), however, it is known that such a word contains only O(n) distinct square factors (Fraenkel and Simpson 1998;Ilie 2005); currently the best known upper bound is 11 6 n (Deza et al 2015). Moreover, all distinct square factors of a word over an integer alphabet can be listed in O(n) time using the suffix tree (Gusfield and Stoye 2004;Bannai et al 2017) or the suffix array and the structure of runs (maximal repetitions) in the word (Crochemore et al 2014).…”
Section: Introductionmentioning
confidence: 99%
“…This is due to their fundamental importance in algorithms and combinatorics on words. Different notions and techniques such as primitively or non-primitively-rooted squares [16,32], positions starting a square [25], frequencies of occurrences of squares [33,39], three-squares property [18,31], overlapping squares [21], distinct squares [17,19,20,[26][27][28]38], double squares [17], non-standard squares [29], etc., have been studied and extended to partial words [2][3][4][5][6][7][8]24].…”
Section: Introductionmentioning
confidence: 99%