On the maximal number of cubic subwords in a string
Abstract
We investigate the problem of the maximum number of cubic subwords (of the form ) in a given word. We also consider square subwords (of the form ). The problem of the maximum number of squares in a word is not well understood. Several new results related to this problem are produced in the paper. We consider two simple problems related to the maximum number of subwords which are squares or which are highly repetitive; then we provide a nontrivial estimation for the number of cubes. We show that the maximum number of squares such that is not a primitive word (nonprimitive squares) in a word of length is exactly , and the maximum number of subwords of the form , for , is exactly . In particular, the maximum number of cubes in a word is not greater than either. Using very technical properties of occurrences of cubes, we improve this bound significantly. We show that the maximum number of cubes in a word of length is between and . (In particular, we improve the lower bound from the conference version of the paper.)
Keywords
Cite
@article{arxiv.0911.1370,
title = {On the maximal number of cubic subwords in a string},
author = {Marcin Kubica and Jakub Radoszewski and Wojciech Rytter and Tomasz Walen},
journal= {arXiv preprint arXiv:0911.1370},
year = {2015}
}
Comments
14 pages