How many squares can a string contain?
How many squares can a string contain?
复制标题
DOI:
10.1006/jcta.1997.2843
复制
发表时间:
1998-04-01
影响因子:
1.1
通讯作者:
Simpson, J
中科院分区:
文献类型:
--
作者:
Fraenkel, AS;Simpson, J
All our words (strings) are over a fired alphabet. A square is a subword of the form uu = u(2), where u is a nonempty word. Two squares are distinct if they are of different shape, not just translates of each other. A word u is primitive if u cannot be written in the form u = v(j) for some j greater than or equal to 2. A square u(2) with u primitive is primitive rooted Let M(n) denote the maximum number of distinct squares, P(n) the maximum number of distinct primitive rooted squares in a word of length,1. We prove: no position in any word can be the beginning of the rightmost occurrence of more than two squares, from which we deduce M(n) < 2n for all n > 0, and P(n) = n - o(n) for infinitely many n. (C) 1998 Academic Press.