How many double squares can a string contain?

被引:29
作者
Deza, Antoine [1 ,2 ]
Franek, Frantisek [1 ]
Thierry, Adrien [1 ]
机构
[1] McMaster Univ, Dept Comp & Software, Adv Optimizat Lab, Hamilton, ON, Canada
[2] Univ Paris 11, CNRS, LRI, F-91405 Orsay, France
基金
加拿大自然科学与工程研究理事会;
关键词
String; Square; Primitively rooted square; Number of distinct squares; Double square; Balanced double square; Factorizable double square; FS-double square; MAXIMUM NUMBER; WORD;
D O I
10.1016/j.dam.2014.08.016
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
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 - Theta(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 contains at most [5n/6] particular double squares. In addition, the established structural properties provide a novel proof of Fraenkel and Simpson's result. (C) 2014 Elsevier B.V. All rights reserved.
引用
收藏
页码:52 / 69
页数:18
相关论文
共 11 条
[1]   SQUARES, CUBES, AND TIME-SPACE EFFICIENT STRING SEARCHING [J].
CROCHEMORE, M ;
RYTTER, W .
ALGORITHMICA, 1995, 13 (05) :405-425
[2]  
Deza A, 2012, PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2012, P111
[3]   A d-step approach to the maximum number of distinct squares and runs in strings [J].
Deza, Antoine ;
Franek, Frantisek .
DISCRETE APPLIED MATHEMATICS, 2014, 163 :268-274
[4]   How many squares can a string contain? [J].
Fraenkel, AS ;
Simpson, J .
JOURNAL OF COMBINATORIAL THEORY SERIES A, 1998, 82 (01) :112-120
[5]   More results on overlapping squares [J].
Franek, Frantisek ;
Fuller, Robert C. G. ;
Simpson, Jamie ;
Smyth, W. F. .
JOURNAL OF DISCRETE ALGORITHMS, 2012, 17 :2-8
[6]  
Hie L., 2005, J COMB THEORY A, V112, P163
[7]   A note on the number of squares in a word [J].
Ilie, Lucian .
THEORETICAL COMPUTER SCIENCE, 2007, 380 (03) :373-376
[8]   The three squares lemma revisited [J].
Kopylova, Evguenia ;
Smyth, W. F. .
JOURNAL OF DISCRETE ALGORITHMS, 2012, 11 :3-14
[9]   On the maximum number of cubic subwords in a word [J].
Kubica, M. ;
Radoszewski, J. ;
Rytter, W. ;
Walen, T. .
EUROPEAN JOURNAL OF COMBINATORICS, 2013, 34 (01) :27-37
[10]  
Lam N.H., 2013, 2 ADVOLREP