Clear Notion Academy

Permutations and Combinations (Beyond Advanced) Practice: A bag contains 5 identical red balls, 4 identical blue balls, 3 identical green balls and…

Question

A bag contains 55 identical red balls, 44 identical blue balls, 33 identical green balls and 33 balls of three different shades of black. How many different selections of exactly 88 balls are there that contain at least one ball of each of the four colours (red, blue, green, black)?

Answer

Answer: 66

Hint

Treat the black balls separately (they are distinct, so choosing kk of them gives a factor (3k)\binom3k) and count positive solutions for the three identical kinds with their upper limits.

Solution

Let k≥1k\ge1 black balls be chosen: (3k)\binom3k ways (3,3,13,3,1 for k=1,2,3k=1,2,3). Then r+b+g=8−kr+b+g=8-k with 1≤r≤51\le r\le5, 1≤b≤41\le b\le4, 1≤g≤31\le g\le3. Sum 55: positive solutions (42)=6\binom42=6, no bound violated. Sum 66: (52)=10\binom52=10, minus g=4g=4 (then r=b=1r=b=1): 99. Sum 77: (62)=15\binom62=15 minus those with g≥4g\ge4 (g=4g=4: 22, g=5g=5: 11) and b=5b=5 (r=g=1r=g=1): 15−3−1=1115-3-1=11. Total 3⋅11+3⋅9+1⋅6=33+27+6=663\cdot11+3\cdot9+1\cdot6=33+27+6=66.

More questions from Permutations and Combinations (Beyond Advanced) Practice

Practise the full set: Permutations and Combinations — Beyond Advanced