There are six boxes numbered 1, 2, 3, 4, 5, 6. Each box is to be filled up either with a white ball or a black ball in such a manner that at least one box contains a black ball and all the boxes containing black balls are consecutively numbered. The total number of ways in which this can be done equals.
Total ways when all 6 boxes have only black balls = 1
Total ways when 5 boxes have black balls = 2
Total ways when 4 boxes have black balls = 3
Total ways when 3 boxes have black balls = 4
Total ways when 2 boxes have black balls = 5
Total ways when only 1 box has black ball = 6
So total ways of putting a black ball such that all of them come consecutively = (1+2+3+4+5+6) = 21
Create a FREE account and get: