How Many Squares Can a String Contain?

Authors: Fraenkel A.S.; Simpson J.

Source: Journal of Combinatorial Theory, Series A, Volume 82, Number 1, April 1998 , pp. 112-120(9)

Publisher: Academic Press

Buy & download fulltext article:

OR

Price: $52.63 plus tax (Refund Policy)

Abstract:

All our words (strings) are over a fixed alphabet. A square is a subword of the form uu=u2, 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=vj for some jges2. A square u2with 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 n. 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. Copyright 1998 Academic Press.

Language: English

Document Type: Miscellaneous

Affiliations: 1: Department of Applied Mathematics and Computer Science, Weizmann Institute of Science, Rehovot, 76100, Israel

Publication date: 1998-04-01

Related content

Tools

Key

Free Content
Free content
New Content
New content
Open Access Content
Open access content
Subscribed Content
Subscribed content
Free Trial Content
Free trial content

Text size:

A | A | A | A
Share this item with others: These icons link to social bookmarking sites where readers can share and discover new web pages. print icon Print this page