Problem 145 medium

All the digits up to a million

Every integer from 1 to 1,000,000 is written down. What is the sum of all the digits written?

Answer

Fractions, decimals with at least 3 significant digits, and expressions such as sqrt(2)/2, e^-1 or pi/4.

Hints 0/2

h

Solution

s Shown after a correct answer. Revealing it first marks the problem as seen, not solved.