Track / Stage 4 / 330 of 340 #590 of 2000
Problem 590
AMC 12 late, AIME early Number theory Difficulty 5.0 Find the answer
5. The numbers from 100 to 999 are written without spaces. What is the remainder when the resulting 2700-digit number is divided by 7?
Official solution
Solution.
Since 1001 is divisible by 7, we get 1000≡−1(mod7)⟹1000n≡(−1)n(mod7). Therefore, the given number is congruent modulo 7 to the number
999−998+997−996+…+101−100=450≡2(mod7)
Answer: 2
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.