Abstract
A square is a word of the form uu, where u is a finite word. The problem of determining the number of distinct squares in a finite word was initially explored by Fraenkel and Simpson in 1998. They proved that the number of distinct squares, denoted as \(\textrm{Sq}\left( w\right) \), in a finite word w of length n is upper bounded by 2n and conjectured that \(\textrm{Sq}\left( w\right) \) is no larger than n. In this note, we review some old and new findings concerning the square-counting problem and prove that \(\textrm{Sq}\left( w\right) \le n-\varTheta (\log _2(n))\).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
A Lyndon word indeed.
References
Berge, C.: The Theory of Graphs and Its Applications. Greenwood Press (1982)
Brlek, S., Li, S.: On the number of squares in a finite word. arXiv e-prints arXiv:2204.10204, April 2022
Deza, A., Franek, F., Thierry, A.: How many double squares can a string contain? Discret. Appl. Math. 180, 52–69 (2015)
Fraenkel, A.S., Simpson, J.: How many squares can a string contain? J. Comb. Theory Ser. A 82(1), 112–120 (1998)
Harju, T., Nowotka, D.: Periodicity and unbordered words. In: Diekert, V., Habib, M. (eds.) STACS 2004. LNCS, vol. 2996, pp. 294–304. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24749-4_26
Ilie, L.: A note on the number of distinct squares in a word. In: Brlek, S., Reutenauer, C. (eds.) Proceedings Words 2005, 5-th International Conference on Words, vol. 36, pp. 289–294. Publications du LaCIM, Montreal, 13–17 September 2005
Jonoska, N., Manea, F., Seki, S.: A stronger square conjecture on binary words. In: Geffert, V., Preneel, B., Rovan, B., Štuller, J., Tjoa, A.M. (eds.) SOFSEM 2014. LNCS, vol. 8327, pp. 339–350. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-04298-5_30
Lam, N.H.: On the number of squares in a string. AdvOL-Report 2 (2013)
Li, S.: A note on the Lie complexity and beyond. arXiv e-prints arXiv:2207.05859, July 2022
Li, S.: An upper bound of the number of distinct powers in binary words. arXiv e-prints arXiv:2209.06891, September 2022
Li, S., Pachocki, J., Radoszewski, J.: A note on the maximum number of \(k\)-powers in a finite word. arXiv e-prints arXiv:2205.10156, May 2022
OEIS Foundation Inc.: The On-Line Encyclopedia of Integer Sequences (2023). http://oeis.org
Thierry, A.: A proof that a word of length n has less than 1.5n distinct squares. arXiv e-prints arXiv:2001.02996, January 2020
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Brlek, S., Li, S. (2023). On the Number of Distinct Squares in Finite Sequences: Some Old and New Results. In: Frid, A., Mercaş, R. (eds) Combinatorics on Words. WORDS 2023. Lecture Notes in Computer Science, vol 13899. Springer, Cham. https://doi.org/10.1007/978-3-031-33180-0_3
Download citation
DOI: https://doi.org/10.1007/978-3-031-33180-0_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-33179-4
Online ISBN: 978-3-031-33180-0
eBook Packages: Computer ScienceComputer Science (R0)