[Math] Finite bit strings that do not contain ‘$00$’

binarycombinatoricsfibonacci-numbers

I am studying for an exam and I am having trouble with this practice question:

In this question, we consider finite bit strings that do not contain $00$. Examples of such bitstrings are $0101010101$ and $11110111$. For any integer $n\geq 2$, let $B_n$ be the number of bitstrings of length $n$ that do not contain $00$.

  • Determine $B_2$ and $B_3$.
  • Prove that $B_n = B_{n-1} + B_{n-2}$ for each $n\geq 4$.
  • For each $n\geq 2$, express $B_n$ in terms of a Fibonacci number.

Any help is greatly appreciated

Best Answer

$\textbf{Hint:}$The first question can be answered by simply counting. For the second question note that every bitstring without $00$ ends in either $1$ or in $10$. How many possibilities are there in either case? The third question can be answered by combining the results of the first two questions.

Related Question