There exist a 20-digits sequence consists of 10 zeros and 10 ones. What is the number of combinations in which no three consecutive zeros are in the sequence.
The answer provided is 24068, and has to do with something like choosing M blocks of 2 zeroes from a set of 11.
Could someone explain this to me? Thank you!
The method that the solution is referring to is probably straightforward casework. Another way to do it would be to do complementary counting.
Another way we could ask the question is, how many strings are there without a string of $n$ zeroes where $3\leq n \leq 10$? To do this all we have to do is find the number of strings with a string of three or more zeroes and subtract those values from the total number of strings which is $\binom {20}{10}$
The trivial bashing is left to you. Next time it would be helpful uf you posted the solution and any work that you have already done :)