Question 21
For example, the sum of all digits in the numbers 2021, 2022, 2023 is 2 + 0 + 2 + 1 + 2 + 0 + 2 + 2 + 2 + 0 + 2 + 3 = 18. Find the sum of all digits in the integers from 1 to 2023 inclusive.
FMO · FMO 2026 - Grade 7 - International - Paper 06