There are 6 boxes numbered 1, 2, …, 6. Each box is to be filled with either a…

2025

There are 6 boxes numbered 1, 2, …, 6. Each box is to be filled with either a red or a green ball such that at least one box contains a green ball and the boxes containing green balls are consecutively numbered.The total number of ways in which this can be done is:

  1. A.

    5

  2. B.

    21

  3. C.

    33

  4. D.

    6

Attempted by 7 students.

Show answer & explanation

Correct answer: B

image.png

Explore the full course: Infosys Preparation