The number of binary strings of 17 zeros and 8 ones in which no two ones are adjacent is ___________

The number of binary strings of 17 zeros and 8 ones in which no two ones are adjacent is ___________ Correct Answer 43758

First place 17 zeroes side by side _ 0 _ 0 _ 0 … 0 _ and 8 1’s can be placed in any of the (17+1) available gaps hence the number of ways = n+1Ck = 43758.

Related Questions

Two n bit binary strings, S1 and S2 are chosen randomly with uniform probability. The probability that the Hamming distance between these strings (the number of bit positions where the two strings differ) is equal to d is
Consider the set of strings on {0,1} in which, every substring of 3 symbols has at most two zeros. For example, 001110 and 011001 are in the language, but 100010 is not. All strings of length less than 3 are also in the language. A partially completed DFA that accepts this language is shown below. The missing arcs in the DFA are