1990 AMC 12 Problem 18

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

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

18.

First aa is chosen at random from the set {1,2,3,…,99,100},\{1,2,3,\ldots,99,100\}, and then bb is chosen at random from the same set. The probability that the integer 3a+7b3^a+7^b has units digit 88 is
116\frac1{16}
18\frac18
316\frac3{16}
15\frac15
14\frac14
Answer: C
Concepts:modular arithmeticprobabilityexponent cycle
Small hint:
The units digits of both powers repeat with period 44
Big hint:
List the residue pairs (a mod 4,b mod 4)(a\bmod4,b\bmod4) that produce a units digit of 88
Solution:
The units digits of 3a3^a for a≡1,2,3,0(mod4)a\equiv1,2,3,0\pmod4 are 3,9,7,1,3,9,7,1, while those of 7b7^b are 7,9,3,1.7,9,3,1. A sum ending in 88 occurs for the residue pairs (a,b)≡(2,2),(3,0),(0,1)(mod4). \begin{aligned} (a,b)\equiv{}&(2,2),(3,0),\\ &(0,1)\pmod4. \end{aligned} Each residue occurs 2525 times among 1,…,100,1,\ldots,100, so the probability is 316.\frac{3}{16}.
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.