JMC 2008 Q20
20. If all the whole numbers from 1 to 1000 inclusive are written down, which digit appears the smallest number of times?
- A 0
- B 2
- C 5
- D 9
- E none: no single digit appears fewer times than all the others
Junior Mathematical Challenge 2008, Question 20. © UK Mathematics Trust. Original paper on ukmt.org.uk
Answer: A 0
Consider the nine numbers from 1 to 9 inclusive: each digit appears once, with the exception of zero. Now consider the 90 two-digit numbers from 10 to 99 inclusive: each of the 10 digits makes the same number of appearances (9) as the second digit of a number and the digits from 1 to 9 make an equal number of appearances (10) as the first digit of a number, but zero never appears as a first digit. There is a similar pattern in the 900 three-digit numbers from 100 to 999 inclusive with zero never appearing as a first digit, but making the same number of appearances as second or third digit as the other nine digits. This leaves only the number 1000 in which there are more zeros than any other digit, but not enough to make up for the fact that zero appears far fewer times than the other nine digits in the numbers less than 1000. (It is left to the reader to check that 0 appears 192 times, 1 appears 301 times and each of 2 to 9 appears 300 times.)
Solution © UK Mathematics Trust, from the JMC 2008 solutions.