For a positive integer the set of sequences of 0 and 1 with length is called good if any sequence of 0 and 1 of length can be obtained from a sequence from by deleting one term. Let be the minimum number of elements in a good set. Prove that: .
, 2022
Solution
Let be the set of all sequences of 0 and 1 of length , thus . It is clear that the set obtained by adding 01 at the end of any sequence from is good. Therefore .
A sequence of length with all zeroes can be obtained either by the sequence with all zeroes of length or by a sequence of length with only one entry 1. In both cases the number of sequences obtained by deleting one entry is at most 3. By analogy, from a sequence of length with all ones or with exactly one zero one obtains at most 3 sequences of length . Only from the sequences of length with alternating 0 and 1 (or 1 and 0) one obtains sequences of length . Note that if both alternating sequences are in then the two sequences of length with alternating 0 and 1 or 1 and 0 are obtained by two ways. Therefore