Skip to main content
OlympiadHQ

Browse · harp

Print

imc

counting and probability intermediate

Problem

Seven distinct pieces of candy are to be distributed among three bags. The red bag and the blue bag must each receive at least one piece of candy; the white bag may remain empty. How many arrangements are possible?
(A)
(B)
(C)
(D)
Solution
We can count the total number of ways to distribute the candies (ignoring the restrictions), and then subtract the overcount to get the answer. Each candy has three choices; it can go in any of the three bags. Since there are seven candies, that makes the total distribution To find the overcount, we calculate the number of invalid distributions: the red or blue bag is empty. The number of distributions such that the red bag is empty is equal to , since it's equivalent to distributing the candies into bags. We know that the number of distributions with the blue bag is empty will be the same number because of the symmetry, so it's also . The case where both the red and the blue bags are empty (all candies are in the white bag) are included in both of the above calculations, and this case has only distribution. The total overcount is The final answer will be
Final answer
C