1985 AMC 12 Problem 29

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

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

29.

In their base 1010 representations, the integer aa consists of a sequence of 19851985 eights and the integer bb consists of a sequence of 19851985 fives. What is the sum of the digits of the base 1010 representation of the integer 9ab?9ab?
1588015880
1785617856
1786517865
1787417874
1985119851
Answer: C
Concepts:algebraic manipulationdigitspattern recognitionplace value
Small hint:
Write a string of kk identical digits using R=10k−19R=\frac{10^k-1}{9}
Big hint:
After removing the terminal zero, express the product as a string of 2k2k fours minus a string of kk eights
Solution:
Let k=1985k=1985 and R=10k−19.R=\frac{10^k-1}{9}. Then a=8R,a=8R, b=5R,b=5R, and 9ab9ab ends in 0.0. Removing that zero does not change the digit sum and leaves N=9ab10=36R2=49(102k−1)−89(10k−1). \begin{aligned} N=\frac{9ab}{10} &=36R^2\\ &=\frac49(10^{2k}-1)\\ &\quad{}-\frac89(10^k-1). \end{aligned} Thus NN is a string of 2k2k fours minus a string of kk eights. The subtraction produces k−1k-1 fours, then 3,3, then k−1k-1 fives, then 6.6. Its digit sum is 4(k−1)+3+5(k−1)+6=9k=17865. \begin{aligned} &4(k-1)+3+5(k-1)+6\\ &\quad=9k=17865. \end{aligned} Therefore 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.