Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

counting and probability intermediate

Problem

What is the total number of digits used when the first 2002 positive even integers are written?
Solution
First, the th positive even integer is , so we are looking for the number of digits used when the positive even integers less than or equal to are written. Split this problem into cases. It's easy to see that there are four positive even integers with one digit: , , , and . Beginning with and ending with , there are positive even numbers with two digits. Beginning with and ending with , there are positive even numbers with three digits. Finally, beginning with and ending with , there are positive even numbers with four digits. So, our answer is , which equals . Thus, there are digits used.
Final answer
7456