I know it is possible to count the number of reinterpretations of ones and zeros in binary of any given digit using the simple law $2^n$, but I want to remove the duplicate count where $11$, or $111$ is present. Only $1010$, $01$, $0101$ but not $0110$. I mean no double $1$s should neighboring each other. Is there any laws for that?
2026-03-31 23:51:16.1775001076
How many ways I can permute the $n$ digits binary without counting the neighboring $1$s?
117 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
It follows the Fibonacci sequence, starting with $$2,3,5,8,13,21,\dots$$
To see why, visualize the branching tree of the process. Each $0$ in there gives us two possible continuations, $0$ and $1$, while $1$ only allows $0$ to follow. This is equivalent to the well-known "rabbit-scenario" formulation of the Fibonacci sequence, where a rabbit must mature (go from being a $1$ to being a $0$) before it can reproduce.