2018 AMC 10B Problem 5

Attempt Problem 5 of the 2018 AMC 10B below, then check your answer against the professionally curated solution 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 problems are used with official legal permission of the Mathematical Association of America (MAA).

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
Answer: D
Concepts:subsetscomplementary countingprime
Small hint:
Count the subsets with no prime and subtract from the total number of subsets
Big hint:
The non-prime elements are 4,6,8,9;4, 6, 8, 9; any subset of just those contains no prime
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 256−16=240256 - 16 = 240 subsets contain at least one prime. Thus, D is the correct answer.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.