18 boys and 2 girls are made to stand in a random order.Let X be the number of boys standing in between two girls .
Find $ P(X=5).$
Initially i thought that the distribution is uniform , but unfortunately it is not.
Here is what i did :-
Ways to select 5 boys from 18 $=$ $18\choose 5$
The denominator then becomes=$\displaystyle\sum_{18}^{i=0}$$ 18\choose i $$=2^{18}\Rightarrow P(X=5)=\frac{18\choose 5}{2^{18}}$
But the answer is $\frac{14}{190}$ .How do i get this answer (if it is correct!)??
The denominator is ${20 \choose 2} = 190$: there are $20$ total boys and girls, and if you number the positions $1$ through $20$, then there are two positions out of those $20$ total for the two girls to stand.
The numerator is $14$: there are $14$ ways for two girls to have $5$ boys in between: they can have positions $1$ and $7$, or $2$ and $8$ ... all the way to $14$ and $20$