- #1
Mr Davis 97
- 1,462
- 44
Homework Statement
How many strings of length 10 contain either five consecutive 0s or five consecutive 1s?
Homework Equations
The Attempt at a Solution
So this problem isn't too bad, and I have a pretty good idea of how to solve it. However, I am not sure whether the problem is referring to exactly five consecutive 0s or 1s or at least five consecutive 0s or 1s. It seems that either way could be interpreted...
If we do exactly, then we would get 110, while if we get at least, then we have 222 (I think).