Skip to main content

2017 AIME II Problem 1

Problem 1 of 15EasierCombinatorics

Find the number of subsets of {1,2,3,4,5,6,7,8}\{1, 2, 3, 4, 5, 6, 7, 8\} that are subsets of neither {1,2,3,4,5}\{1, 2, 3, 4, 5\} nor {4,5,6,7,8}.\{4, 5, 6, 7, 8\}.

Your answer

Integer from 0 to 999
Show solution

Solution

There are 28=2562^8 = 256 subsets in all. The ones to exclude are those contained in {1,2,3,4,5}\{1,2,3,4,5\} (there are 25=322^5 = 32) or contained in {4,5,6,7,8}\{4,5,6,7,8\} (another 3232). A subset of both is exactly a subset of the intersection {4,5},\{4, 5\}, and there are 22=42^2 = 4 of those. By inclusion-exclusion, 32+32−4=6032 + 32 - 4 = 60 subsets fail, so 256−60=196256 - 60 = 196 subsets have the required property.
AoPS wiki

Tagged: subsets · inclusion-exclusion

More practice