0:00
Combinatorics 4.0/10

Counting the Zeros

All the integers from 1 to 1000 are written in ordinary decimal notation (no leading zeros). How many times is the digit 0 written in total? Give an integer.

Related problems & prerequisites

Worth solving first

Source: Classic exercise in wide circulation; no traceable original source. Statement written for AxiomIQ.