JMO 2015 B1
B1. Let \(N\) be the smallest positive integer whose digits add up to 2015.
What is the sum of the digits of \(N + 1\)?
Junior Mathematical Olympiad 2015, Question B1. © UK Mathematics Trust. Original paper on ukmt.org.uk
Answer: 9
For such an integer to be as small as possible, it must have as few digits as possible (since any integer with more digits would be larger).
Since \(\frac{2015}{9} = 223\) remainder 8, the smallest possible number of digits is 224. Thus any number whose digits are made up of 223 copies of ‘9’ and one ‘8’ will have the correct digit sum and use the smallest possible number of digits. The integer \(N\) must have ‘8’ as its leading digit, followed by 223 copies of ‘9’; any other arrangement of these digits would give a larger integer.
Thus \(N + 1 = 9 \times 10^{223}\). Hence the digit sum of \(N + 1\) is 9.
Solution © UK Mathematics Trust, from the JMO 2015 solutions.