Maths Olympiad Prep

Library / /40 of 94

Combinatorics Difficulty 4.7 AIME Prove it United States

Problem:

How many four-digit numbers are there in which at least one digit occurs more than once?

Solution

Solution:

There are 90009000 four-digit numbers altogether. If we consider how many four-digit numbers have all their digits distinct, there are 99 choices for the first digit (since we exclude leading zeroes), and then 99 remaining choices for the second digit, then 88 for the third, and 77 for the fourth, for a total of 9987=45369 \cdot 9 \cdot 8 \cdot 7 = 4536. Thus the remaining 90004536=44649000 - 4536 = 4464 numbers have a repeated digit.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.