I want to count the number of binary strings which meet the following three conditions:
- The number of $0$s is exactly four more than the number of $1$s.
- There are no two adjacent $1$s.
- The string does not start and end with a $1$. So, for instance, $001001001001$ is acceptable, but $10000001$ isn't.
How many strings of length $n$ meet those conditions?
Let $S_{n,t}$ be the number of strings of length $n$ that have exactly $t$ more $0s$ than $1s$, with no two consecutive $1s$, and end with $0$. Then, each $1$ will have a companion $0$ at its right. We have $p$ such "$10$" pairs, with $2 p +t = n$ (this implies $n-t$ must be even).
Then $S_{n,t}$ counts all the possible arrangements of these pseudo $p+t$ elements ($p$ $01$ pairs and $t$ $0$s), which is $$ S_{n,t}={p+t \choose t}={\frac{1}{2}(n+t) \choose t}$$
We are left with the strings that, again, have exactly $t$ more $0s$ than $1s$, no two consecutive $1s$, but now end with $1$ (hence they must start with $0$). Considering the effect of removing these extreme elements, the shortened string fullfills the condition of the previous case, so the counting is $S_{n-2,t}$
Then the total number is
$$ S_{n,t}+S_{n-2,t}={\frac{1}{2}(n+t) \choose t}+{\frac{1}{2}(n+t)-1 \choose t} ={\frac{1}{2}(n+t) \choose t} \frac{2\,n}{n+t}$$