AMC 10 · 2007 · #24

Grade 6 number-theory
divisibility-rulesdigit-sumdigit-constraints extremal-construction ↑ Prerequisites: divisibility-rules
📏 Medium solution 💡 3 insights
Problem

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?

Pick an answer.

(A)
4444
(B)
4494
(C)
4944
(D)
9444
(E)
9944

AMC 10 2007 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

Try it yourself first — the explanation is most useful after you’ve attempted it.