AMC 10 · 2010 · #22
Grade 7 countingPick an answer.
AMC 10 2010 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.
The phrase "at least one" in two bags is the classic signal for Tool #16 (Count the Complement): counting placements that obey both rules head-on is messy, but counting ALL placements and then removing the rule-breaking ones is clean. The forbidden placements are "red empty" and "blue empty," and those two sets overlap, so Tool #12 (Venn / inclusion-exclusion) handles the double-count. Tool #7 (Identify Subproblems) splits the job into three simple power-of-a-number counts.
Count every placement first
Ignore the rules for a moment: each of the 7 candies picks one of 3 bags, giving 2187 placements in all.
It is easier to count the whole world of placements and then throw away the bad ones than to build only the good ones.
7.SP.C.8Change Focus Count The ComplementCount the red-empty placements
Red empty breaks the rule: every candy must then pick blue or white, just 2 options each, for 128 bad placements.
Banning one bag simply deletes one option from each candy, turning 3 choices into 2.
6.EE.A.1Change Focus Count The ComplementCount the blue-empty placements
Blue empty is the mirror image — each candy picks red or white — so that pile also holds 128 placements.
Red and blue play identical roles in the rules, so their forbidden counts must be equal.
7.SP.C.8Identify SubproblemsRepair the overlap
The two piles overlap in one placement — all 7 candies in white — so the illegal total is 255, not 256.
The all-white placement got knocked out twice, so add it back once to keep the tally honest.
The placement that breaks both rules at once got knocked out twice, so it must be added back once.
▸ Why?
When two banned groups overlap, subtracting both removes the shared part twice.
▸ Why?
The legal placements are exactly everything that is not banned, so the tally has to be exact.
Subtract the illegal placements
Subtract the rule-breakers from the full count, and only the placements giving red and blue at least one candy remain.
Everything minus the rule-breakers is precisely the rule-followers — the answer is 1932, choice (C).
4.NBT.B.4Change Focus Count The ComplementWhen two things each need "at least one," count every arrangement, subtract the ones where a bag is empty, and add back the case you removed twice.
- Count every placement first
- Count the red-empty placements
- Count the blue-empty placements
- Repair the overlap
- Subtract the illegal placements