We can start by noticing that if a sequence of length k does not contain the pattern 111, then we can add a 0 at the end of the sequence, and it will still not contain the pattern 111. So, we can say that $b_{k+1} \geq b_k$.
Now, let's consider the sequences of
Show more…