1987 AMC 12 Problem 3

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

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

3.

How many primes less than 100100 have 77 as the ones digit? (Assume the usual base 1010 representation.)
44
55
66
77
88
Answer: C
Concepts:prime numbersdivisibilityenumeration
Small hint:
List every positive integer below 100100 whose ones digit is 77
Big hint:
For numbers below 100,100, trial division only requires primes through their square roots
Solution:
The primes are 7, 17, 37, 47, 67, 97. 7,\ 17,\ 37,\ 47,\ 67,\ 97. The other candidates are composite: 27,57,77,27,57,77, and 87.87. Hence there are 66 such primes.
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.