One digit, two ways to count.
Imagine numbering the pages of a book from 1 to 30. How many times would you write the digit 2?
Hint
Count the tens place and the ones place separately.
Reasoning
The digit 2 appears 10 times in the tens place, from 20 to 29. It appears 3 times in the ones place, in 2, 12, and 22. That makes 13 in total. We count 22 twice because we write the digit twice.
Tens place · 20 to 29 · 10
Ones place · 3
10 + 3 = 13
In a lesson, the coach would ask why before showing any of this — that habit is what makes competition questions less frightening.