JK 2018 Q25
25. What is the largest number of digits that can be erased from the 1000-digit number 201820182018....2018 so that the sum of the remaining digits is 2018?
- A 343
- B 582
- C 671
- D 741
- E 746
Junior Kangaroo 2018, Question 25. © UK Mathematics Trust. Original paper on ukmt.org.uk
Answer: D 741
Since we want as few digits remaining in the number as possible, we require as many 8s (the highest digit) as possible. Also, since 2018 = 252 × 8 + 2 and there are only 250 8s in the 1000-digit number, some 2s (the next highest digit) will also be required. Therefore, since 2018 − 250 × 8 = 18 and 18 = 9 × 2, the smallest number of digits remaining for the sum of these digits to be 2018 is 250 + 9 = 259. Therefore the largest number of digits that can be erased is 1000 − 259 = 741.
Solution © UK Mathematics Trust, from the JK 2018 solutions.