Minimum Repeated Substring

Logic Level 3

A binary string is called repeated if it is even in length and its first half is identical to its last half. For example, the string 100100, 0101, 00, 010010 \text{100100, 0101, 00, 010010} are repeated string.

What is the minimum number of unique repeated substring one can have with a binary string of length 18?

Details and Assumptions

  • The string 000101 \text{000101} has 2 unique repeated substrings 00, 0101 \text{00, 0101} .
2 0 3 1 4

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Christopher Boo
Jul 6, 2016

The string is 010011000111001101 010011000111001101 which has only 2 2 distinct repeated substrings namely 00 00 and 11 11 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...