I am excited on finally solving up your question.
It has been a lengthy thread.
Your attempt was on a right track but a few mistakes there.
I don't know why
@haruspex brought you on a recurrence relation which is not taught in high school.
Maybe different thinking patterns.
AdityaDev said:
Homework Statement
Consider a 11 digit positive integer formed by the digits 1,0 or both. The probability that no two zeros are adjacent is:
The Attempt at a Solution
First digit has to be 1.
Total number of permutations=210
Now 1XXXXXXXXXX is the format.
Taking 10 digits starting from 2nd digit, it has to be like 01X1X1X1X1 or it has to be like 1X1X1X1X1X.
(X can be 0 or 1).
For first case if I take one zero, it can be place in any of the 4 X = 4C1
If I take 2 zero, 4C2 and so one because the other X has to be filled by 1.
First case: 4c1+4c2+...+4c4=16
Second case:5c1+...5c5=32
Hence probability = (24+25)/210=3/64.
But answer is 9/64
First digit is obviously 1. Now considering all things from 2nd digit onwards.
When we have no zero in number then we have 10 ones and obviously that is one way.
When we have one zero in number then we have 9 ones.
Placing ones at alternate places.
_1_1_1_1_1_1_1_1_1_.
We have 10 spaces and one zero to place in any space, so number of ways = 10
C1
When we have 2 zero in number then we have 8 ones
Placing ones at alternate places.
_1_1_1_1_1_1_1_1_
We have nine spaces and two zeroes to place in any space, so number of ways = 9
C2= 36.
I hope you get the pattern and maximum zeroes we can have is 5.
Any further queries?