Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
6424385 | European Journal of Combinatorics | 2013 | 11 Pages |
We investigate the problem of the maximum number of different cubic subwords (of the form www) in a given word. We also consider square subwords (of the form ww). The problem of the maximum number of squares in a word is not well understood. Several new results related to this problem are presented 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 xx such that x is not a primitive word (nonprimitive squares) in a word of length n is exactly ân2ââ1, and the maximum number of subwords of the form xk, for kâ¥3, is exactly nâ2. In particular, the maximum number of cubes in a word is not greater than nâ2 either. Using properties of occurrences of cubes, we improve this bound significantly. We show that the maximum number of cubes in a word of length n is between 12nâ2n and 45n.2