1994 AMC 12 Problem 21

Attempt Problem 21 of the 1994 AMC 12 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 1994 AMC 12 solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

21.

Find the number of counterexamples to the statement:
“If NN is an odd positive integer the sum of whose digits is 44 and none of whose digits is 0,0, then NN is prime.”
00
11
22
33
44
Answer: C
Concepts:digit sumsprimalityenumeration
Small hint:
A number satisfying the digit conditions has at most four digits
Big hint:
List the odd possibilities by composing 44 into positive digits
Solution:
The odd possibilities are 13,31,121,211,13,31,121,211, and 1111.1111. The numbers 13,31,13,31, and 211211 are prime, while 121=112121=11^2 and 1111=11⋅101.1111=11\cdot101. Thus there are 22 counterexamples. Thus the correct answer is C.
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.