AIME 1983 · 第 10 题
AIME 1983 — Problem 10
题目详情
Problem
The numbers , and have something in common: each is a -digit number beginning with that has exactly two identical digits. How many such numbers are there?
解析
Solution 1
Suppose that the two identical digits are both . Since the thousands digit must be , only one of the other three digits can be . This means the possible forms for the number are
Because the number must have exactly two identical digits, , , and . Hence, there are numbers of this form.
Now suppose that the two identical digits are not . Reasoning similarly to before, we have the following possibilities:
Again, , , and . There are numbers of this form.
Thus the answer is .
Solution 2
Consider all four-digit sequences with exactly two identical digits. By symmetry, of these sequences start with .
Let be the digit that appears twice, and be the digits which appear once. Then there are choices for and choices for . Therefore, there are choices for .
For each choice of , there are permutations of . Therefore, there are four-digit sequences with exactly two identical digits. Of these sequences, begin with .
Solution 3 (Complementary Counting)
We'll use complementary counting. We will split up into cases: (1) no number is repeated, (2) numbers are repeated, and other numbers are repeated, (3) numbers are repeated, or (4) numbers are repeated.
Case 1: There are choices for the hundreds digit (it cannot be ), choices for the tens digit (it cannot be or what was chosen for the hundreds digit), and for the units digit. This is a total of numbers.
Case 2: One of the three numbers must be , and the other two numbers must be the same number, but cannot be (That will be dealt with in case 4). There are choices to put the , and there are choices (any number except for ) to pick the other number that is repeated, so a total of numbers.
Case 3: We will split it into subcases: one where is repeated times, and one where another number is repeated times. When is repeated times, then one of the digits is not . There are choices for that number, and choices for its location,so a total of numbers. When a number other than is repeated times, then there are choices for the number, and you don't have any choices on where to put that number. So in Case 3 there are numbers
Case 4: There is only number: .
There are a total of -digit numbers that begin with (from to ), so by complementary counting you get numbers.
Solution by Kinglogic
Solution 4 (Easy casework)
Let us proceed by casework.
Case 1: We will count the amount of numbers that have two identical digits that are not one. The thousands digit is fixed, and we are choosing two spots to hold two identical digits that are chosen from , which is options. For the last digit, their are possibilities since it can be neither or the other number that is chosen. The final outcome is possibilities for this case.
Case 2: The last case will be the amount of numbers that have two identical digits thare are . There are places to pick the . For the other digits, there are and options respectively. Thus, we have . Summing the two cases, we get .