“…We say that a string x ∈ {0, 1} n has a nonoverlapping repeated substring of length L − 1 at the positions (i, j), i < j, if x i,L−1 = x j,L−1 and j − i L − 1. For example, the string (1, 0, 1) is a non-overlapping repeated substring of x = (1, 0, 1, 0, 0, 1, 0, 1) at the positions (1,6). On the other hand, if i < j and x i,L−1 = x j,L−1 for j − i < L − 1, we say that x has an overlapping repeated substring of length L − 1 at the positions (i, j).…”