2018 AMC 10B Problem 5

Below is the professionally curated solution for Problem 5 of the 2018 AMC 10B, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2018 AMC 10B solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:subsetscomplementary countingprime

Difficulty rating: 1200

5.

How many subsets of {2,3,4,5,6,7,8,9}\{2, 3, 4, 5, 6, 7, 8, 9\} contain at least one prime number?

128128

192192

224224

240240

256256

Solution:

Count the complement. The set has 28=2562^8 = 256 subsets total. A subset avoids every prime exactly when it sticks to the non-primes {4,6,8,9},\{4, 6, 8, 9\}, and there are 24=162^4 = 16 of those. So 25616=240256 - 16 = 240 subsets contain at least one prime. Thus, D is the correct answer.

Problem 5 in Other Years