2007 AMC 10B Problem 24

Attempt Problem 24 of the 2007 AMC 10B 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 2007 AMC 10B solutions, or check the answer key.

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

24.

Let nn denote the smallest positive integer that is divisible by both 44 and 9,9, and whose base-1010 representation consists of only 44’s and 99’s, with at least one of each. What are the last four digits of n?n?
44444444
44944494
49444944
94449444
99449944
Answer: C
Concepts:divisibilitydigitsoptimization
Small hint:
Divisibility by 99 constrains the digit sum; divisibility by 44 constrains the last two digits
Big hint:
The digit sum forces at least nine 44’s, and the last two digits must both be 44
Solution:
Since nn is divisible by 9,9, its digit sum is a multiple of 9.9. With kk fours and mm nines, the digit sum is 4k+9m,4k+9m, so 4k4k is divisible by 9,9, forcing kk to be divisible by 9.9. Thus k≥9,k\ge 9, and with at least one 9,9, the number has at least ten digits.
For divisibility by 4,4, the last two digits must form a multiple of 4,4, and among 44,44, 49,49, 94,94, and 9999 only 4444 works, so nn ends in 44.44.
The smallest such ten-digit number places the single 99 in the lowest available position, giving 4,444,444,944.4{,}444{,}444{,}944. Its last four digits are 4944.4944.
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.