Maths Olympiad Prep

Track / Stage 3 / 184 of 260 #184 of 1964

Problem 184

AMC 10/12, early questions
Number theory Difficulty 3.6 Find the answer

Find the remainder when 9×99×999××999999 9’s9 \times 99 \times 999 \times \cdots \times \underbrace{99\cdots9}_{\text{999 9's}} is divided by 10001000.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Next problem →

Official solution

Note that 9999999999999 9’s1(mod1000)999\equiv 9999\equiv\dots \equiv\underbrace{99\cdots9}_{\text{999 9's}}\equiv -1 \pmod{1000} (see modular arithmetic). That is a total of 9993+1=997999 - 3 + 1 = 997 integers, so all those integers multiplied out are congruent to 1(mod1000)- 1\pmod{1000}. Thus, the entire expression is congruent to 1×9×99=891109(mod1000)- 1\times9\times99 = - 891\equiv\boxed{109}\pmod{1000}.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.