Bunuel
Suppose we have six marbles: 3 blue marbles, 2 red marbles, and one green marble. Suppose we are going to put them into three cups: a black cup, a white cup, and a purple cup. We could put all six in any cup and leave two cups empty; or we could put marbles in two cups and leave one cup empty; or we could put some marbles in each of the three cups. How many combinations are possible?
(A) 90
(B) 180
(C) 360
(D) 540
(E) 720
Kudos for a correct solution.
# ways to distribute Blue marbels(3) is :
1 in each cup= 1
2 in one cup and 1 in other=6
all 3 in one cup = 3
total 1+6+3=10 possibilities
# ways to distribute Red marbels(2) is :
1 in each cup = 3 ways
all in one cup = 3ways
total 6ways.
# ways to distribute Green marbels(1) is :
3 ways
total number of ways = 10*6 *3 = 180
Alternately this can be solved using combitronics with possible distribution
(6,0,0) one cup receives all = 3ways
(5,1,0)= one cup receives 5 and other receives 1 ; 3C1 * 2 but we will have to multiply this by 3! ; total = 3*2*6=36
(4,1,1)= one cup receives 4 and other receive 1 each ; 4C1 *2*1 but we will have to multiply this by 3!/2! ; total =24
like wise if we do for
4,2,0
3,3,0
3,2,1
2,2,2
we will get same total 180 ways.
Answer is B.