2019 AIME I Problem 1

Attempt Problem 1 of the 2019 AIME I 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 2019 AIME I solutions, or check the answer key.

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

1.

Consider the integer N=9+99+999+9999+⋯+99…99⏟321 digits. \begin{aligned} &N = 9 + 99 + 999 + 9999 \\ &\quad {}+ \cdots + \underbrace{99\ldots99}_{\text{321 digits}}. \end{aligned} Find the sum of the digits of N.N.
Answer: 342
Concepts:digitsplace value
Small hint:
Each summand is 10k−1,10^k - 1, so NN is a long string of ones (followed by a zero) minus 321321
Big hint:
Subtracting 321321 from 11…11011\ldots110 disturbs only the last four digits; count the ones that survive
Solution:
Each summand is 10k−1,10^k - 1, so N=∑k=1321(10k−1)=11…1⏟3210−321. \begin{aligned} N &= \sum_{k=1}^{321} \left(10^k - 1\right) \\ &= \underbrace{11\ldots1}_{321}0 - 321. \end{aligned}
The subtraction changes only the last four digits: 1110−321=789,1110 - 321 = 789, so those four digits become 0789.0789. Thus NN consists of 318318 ones followed by 0789,0789, and the digit sum is 318+0+7+8+9=342.318 + 0 + 7 + 8 + 9 = 342.
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.