What would the formula be for finding the number of combinations of $n$ binary elements when no $0$ can follow another but there is no restriction on subsequent $1$s. For example, an allowable sequence is $(1,0,1,1,1,0,1,0,1,1)$ but a disallowed sequence is $(1,0,0,1,1,0,1,0,0,1)$. How many allowable sequences are there for length $n$?
I know if there were no restriction, then the answer would be $2^n$. But I want to know how to subtract the repeated zeros.
Since this appears to be a self-study problem, I will only offer a hint as to how you might go about re-framing the problem in an alternative way that can lead to solution:
Reframing the problem: Define the substrings $\mathbf{A}_0, \mathbf{A}_1, \mathbf{A}_2, ...$ and $\mathbf{B}_1, \mathbf{B}_2, \mathbf{B}_3, ...$ by:
$$\begin{matrix} \mathbf{A}_0 = ( 0 ) \\[6pt] \mathbf{A}_1 = ( 1, 0 ) & & & & & \mathbf{B}_1 = ( 1 ) \\[6pt] \mathbf{A}_2 = ( 1, 1, 0 ) & & & & & \mathbf{B}_2 = ( 1, 1 ) \\[6pt] \vdots & & & & & \vdots \\[6pt] \mathbf{A}_n = ( \underbrace{1, 1, ..., 1}_{n \text{ times}}, 0 ) & & & & & \mathbf{B}_n = ( \underbrace{1, 1, ..., 1}_{n \text{ times}} ) \\[6pt] \vdots & & & & & \vdots \\[6pt] \end{matrix}$$
Every binary string obeying the constraint specified in your question consists of an ordered set of these substrings, subject to some restrictive conditions. See if you can characterise the required restrictions on these substrings, and then you will have a procedure for producing unique strings that satisfy your constraint. This will reframe your counting problem as one involving orders sets of substrings, subject to some fairly simple conditions. You should then be able to count over those conditions using some applications of the multiplication rule.