Sir , I could not understand the meaning of this Marbles Question
Sir , I could not understand the meaning of this Marbles Question
we have marbles in k different colors, with each color having infinite number of marbles.
Lets take an example to understand it better
suppose we have marbles in 3 different colors: red, blue, and green
there are infinite numbers of red marbles, blue marbles, and green marbles
now you have to select n marbles out of these 3( or k) colors, such that you select atleast 1 red, 1 blue, 1 green
so that simply means
x1+x2+x3+… + x(k) = n, where x1,x2,… denote number of selected marbles of each color, and all values of x1,x2,… >= 1 (you have to select atleast 1 of every color).
hope that resolves your doubt.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.