Suppose we have a $3\times 3$ arrangement of lightbulbs and we switch them on/off randomly (probability $½$). What is the probability the no adjacent bulbs are on?
My attempt was:
Let $1= $ on and $0 =$ off. Then these are the only arrangements with both no adjacent $0$s or $1$s:
$$\pmatrix{ 0&1&0 \\ 1&0&1 \\ 0&1&0}\qquad\pmatrix{ 1&0&1 \\ 0&1&0 \\ 1&0&1} $$ Therefore the arrangements in which there are "either no adjacents, or only $0$-adjacents", are those obtained from the arrangements above and turning $1$s into $0$s, which happens in $2^4 + 2^5 - 1 = 47$ ways (the $-1$ being for overcounting the all-$0$ arrangement). But the condition "either no adjacents, or only $0$-adjacents" is equivalent to "no $1$-adjacents". So I get: $$\frac{47}{512}$$ Apparently this is wrong, but I'm having trouble seeing what I've missed. I'd love some help!