Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

counting and probability intermediate

Problem

How many 5-digit numbers have at least one zero?
Solution
A 5-digit number can have for its leftmost digit anything from 1 to 9 inclusive, and for each of its next four digits anything from 0 through 9 inclusive. Thus there are 5-digit numbers.

A 5-digit number with no zero as a digit can have for each of its five digits anything from 1 through 9 inclusive. There are such 5-digit numbers. Therefore the number of 5-digit numbers with at least one zero as a digit is
Final answer
30,951