Summing digits to a million
What is the sum of all the digits of all the integers from to inclusive? (For example, the number contributes .)
Show hints (2)+
- Pad numbers to digits (–). In each position every digit – appears times.
- Per position: ; times positions; then add the digits of .
Answer
Reveal answer →Final answer
27000001
Want the full step-by-step worked solution? It's part of Premium - along with a worked solution for every question in the bank.
Asked at: Jane Street, Citadel