The determination of
is a standard kind of problem in combinatorics. One solution is by way of a recurrence relation. In fact, many problems in combinatorics are most easily solved by first searching for a recurrence relation and then solving it. The following observation will suggest the recurrence relation that we need to determine
If
then every string of 0’s and 1’s with length
and no two consecutive 0’s is either
or
where
and
are strings with no two consecutive 0’s of length
and
respectively. From this observation we can see that
for
The terms
and
are easy to determine by enumeration. Now, by iteration, any
can be easily determined. For example,
can be computed with five additions. A closed form expression for
would be an improvement. Note that the recurrence relation for
is identical to the one for
The Fibonacci Sequence. Only the basis is different.