How many binary strings of length 12 (that is; sequences of length 12 whose entries are chosen from { 0, 1 }) have every occurrence of two 1’s separated by at least two 0’s? For example, 100100010000 is such a string, while 010100000000 is not. Please do not actually find all such strings (except as a check of your own); a counting analysis is required. Hint: partition the set of all such strings according to the number of 1’s that appear in the string.
Thanks