Maths Olympiad Prep

Library / Harvard-MIT Math Tournament /35 of 83

Harvard-MIT Math Tournament

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 9⋅9⋅8⋅7=45369 \cdot 9 \cdot 8 \cdot 7 = 4536. Thus the remaining 9000−4536=44649000 - 4536 = 4464 numbers have a repeated digit.

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

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