JMC 2019 Q10
10. What is the last digit of the smallest positive integer whose digits add to 2019?
- A 1
- B 4
- C 6
- D 8
- E 9
Junior Mathematical Challenge 2019, Question 10. © UK Mathematics Trust. Original paper on ukmt.org.uk
Answer: E 9
For the number to be as small as possible, we need the number of digits to be as small as possible. For instance, 111…1 (2019 1s) has a digit sum of 2019, but it is a much larger number than 333…3 (673 3s), which also has a digit sum of 2019. Clearly, to reduce the number of digits in the number, we need to make as many as possible of the digits in the number equal to 9.
Now 2019 ÷ 9 = 224 remainder 3, so the smallest positive integer with digit sum of 2019 is 399…9 (224 9s). Its last digit is 9.
Solution © UK Mathematics Trust, from the JMC 2019 solutions. Longer versions with investigations: Solutions and investigations (PDF).