Counting Digits of Consecutive Integers
Number Theory · Purple Comet 2024 HS
Find the number of digits you would write if you wrote down all of the integers from $1$ through $2024$:
$$1,2,3,4,5,6,7,8,9,10,11,\ldots,2022,2023,2024.$$