Number theoryDifficulty 3.6AMC 10/12Find the answer
Find the remainder when 9×99×999×⋯×999 9’s99⋯9 is divided by 1000.
A number or a short expression. Spacing and $ signs are ignored.
Solution
Note that 999≡9999≡⋯≡999 9’s99⋯9≡−1(mod1000) (see modular arithmetic). That is a total of 999−3+1=997 integers, so all those integers multiplied out are congruent to −1(mod1000). Thus, the entire expression is congruent to −1×9×99=−891≡109(mod1000).
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.