Problem:
How many four-digit numbers are there in which at least one digit occurs more than once?
Problem:
How many four-digit numbers are there in which at least one digit occurs more than once?
Solution:
There are four-digit numbers altogether. If we consider how many four-digit numbers have all their digits distinct, there are choices for the first digit (since we exclude leading zeroes), and then remaining choices for the second digit, then for the third, and for the fourth, for a total of . Thus the remaining numbers have a repeated digit.