paper

A regularity lemma and twins in words

arXiv:1204.2180

Abstract

For a word , let be the largest integer such that there are two disjoints identical (scattered) subwords of length . Let . Here, it is shown that \[2f(n, \{0,1\}) = n-o(n)\] using the regularity lemma for words. I.e., any binary word of length can be split into two identical subwords (referred to as twins) and, perhaps, a remaining subword of length . A similar result is proven for identical subwords of a word over an alphabet with at most letters.