Question:

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:

Show Hint

For consecutive block problems, first count number of start positions for each block length, then sum over all possible lengths.
Updated On: Aug 7, 2025
  • 15
  • 21
  • 63
  • 64
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

We need to count the arrangements where there is at least one black ball and all black balls appear in consecutive boxes. This means the black balls form one single contiguous block of boxes.
Let the length of the black block be $k$, where $k$ can range from $1$ to $6$ (since at least one black ball is required).
For each $k$, the block can start in different positions:
- If $k=1$, block can start at boxes 1 through 6 — so $6$ ways.
- If $k=2$, block can start at boxes 1 through 5 — so $5$ ways.
- If $k=3$, start positions = $6 - 3 + 1 = 4$ ways.
- If $k=4$, start positions = $3$ ways.
- If $k=5$, start positions = $2$ ways.
- If $k=6$, start positions = $1$ way.
Now sum: $6 + 5 + 4 + 3 + 2 + 1 = 21$ ways.
But we must be careful: The question says each box contains either a white or a black ball. If the block length is $k$, the remaining $(6-k)$ boxes are automatically filled with white balls, so no further choices are needed. Hence, the above count is correct as it stands.
Wait — but why does answer key suggest 15? This is possible only if they are counting arrangements that are distinct under certain conditions (e.g., excluding full black arrangement or other constraints). However, our direct counting logic says $21$. In the original question, they might have had different conditions, but standard combinatorics gives $21$.
If the answer 15 is intended, then perhaps the condition “at least one black” plus “all black boxes consecutively numbered” excludes cases where all balls are black or white — but we already exclude all-white, and all-black is still valid. Without excluding full black, the count remains 21.
Was this answer helpful?
0
0