Difference between revisions of "1983 AIME Problems/Problem 10"
m (→Solution 3 (Complementary Counting)) |
m (→Solution 4 (Easy casework)) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
The numbers <math>1447</math>, <math>1005</math> and <math>1231</math> have something in common: each is a <math>4</math>-digit number beginning with <math>1</math> that has exactly two identical digits. How many such numbers are there? | The numbers <math>1447</math>, <math>1005</math> and <math>1231</math> have something in common: each is a <math>4</math>-digit number beginning with <math>1</math> that has exactly two identical digits. How many such numbers are there? | ||
− | + | ==Solution 1== | |
− | |||
Suppose that the two identical digits are both <math>1</math>. Since the thousands digit must be <math>1</math>, only one of the other three digits can be <math>1</math>. This means the possible forms for the number are | Suppose that the two identical digits are both <math>1</math>. Since the thousands digit must be <math>1</math>, only one of the other three digits can be <math>1</math>. This means the possible forms for the number are | ||
Line 18: | Line 17: | ||
Thus the answer is <math>216+216=\boxed{432}</math>. | Thus the answer is <math>216+216=\boxed{432}</math>. | ||
− | + | ==Solution 2== | |
Consider a sequence of <math>4</math> digits instead of a <math>4</math>-digit number. Only looking at the sequences which have one digit repeated twice, we notice that the probability that the sequence starts with 1 is <math>\frac{1}{10}</math>. This means we can find all possible sequences with one digit repeated twice, and then divide by <math>10</math>. | Consider a sequence of <math>4</math> digits instead of a <math>4</math>-digit number. Only looking at the sequences which have one digit repeated twice, we notice that the probability that the sequence starts with 1 is <math>\frac{1}{10}</math>. This means we can find all possible sequences with one digit repeated twice, and then divide by <math>10</math>. | ||
Line 33: | Line 32: | ||
Next, we can see how many ways we can pick <math>a</math>, <math>b</math>, and <math>c</math>. This is <math>10(9)(8) = 720</math>, because there are <math>10</math> digits, from which we need to choose <math>3</math> with regard to order. This means there are <math>720(6) = 4320</math> sequences of length <math>4</math> with one digit repeated. We divide by 10 to get <math>\boxed{432}</math> as our answer. | Next, we can see how many ways we can pick <math>a</math>, <math>b</math>, and <math>c</math>. This is <math>10(9)(8) = 720</math>, because there are <math>10</math> digits, from which we need to choose <math>3</math> with regard to order. This means there are <math>720(6) = 4320</math> sequences of length <math>4</math> with one digit repeated. We divide by 10 to get <math>\boxed{432}</math> as our answer. | ||
− | + | ==Solution 3 (Complementary Counting)== | |
We'll use complementary counting. We will split up into <math>3</math> cases: (1) no number is repeated, (2) <math>2</math> numbers are repeated, and <math>2</math> other numbers are repeated, (3) <math>3</math> numbers are repeated, or (4) <math>4</math> numbers are repeated. | We'll use complementary counting. We will split up into <math>3</math> cases: (1) no number is repeated, (2) <math>2</math> numbers are repeated, and <math>2</math> other numbers are repeated, (3) <math>3</math> numbers are repeated, or (4) <math>4</math> numbers are repeated. | ||
Line 54: | Line 53: | ||
Solution by Kinglogic | 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 <math>0, 2-9</math>, which is <math>9</math> options. For the last digit, their are <math>8</math> possibilities since it can be neither <math>1</math> or the other number that is chosen. The final outcome is <math>{3}\choose{2}</math> <math>* 9 * 8 = 216</math> possibilities for this case. | ||
+ | |||
+ | Case 2: | ||
+ | The last case will be the amount of numbers that have two identical digits thare are <math>1</math>. There are <math>{3}\choose{1}</math> places to pick the <math>1</math>. For the other <math>2</math> digits, there are <math>9</math> and <math>8</math> options respectively. Thus, we have <math>3 * 9 * 8 = 216</math>. | ||
+ | Summing the two cases, we get <math>216 + 216 = \boxed{432}</math>. | ||
== See Also == | == See Also == |
Latest revision as of 19:26, 14 January 2023
Contents
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
![$11xy,\qquad 1x1y,\qquad1xy1$](http://latex.artofproblemsolving.com/6/1/8/618de0dca3122f7ae4c49bd44b021966d9723848.png)
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:
![$1xxy,\qquad1xyx,\qquad1yxx.$](http://latex.artofproblemsolving.com/2/c/c/2ccebb04bbfa82459be3147685b2846acfc824d8.png)
Again, ,
, and
. There are
numbers of this form.
Thus the answer is .
Solution 2
Consider a sequence of digits instead of a
-digit number. Only looking at the sequences which have one digit repeated twice, we notice that the probability that the sequence starts with 1 is
. This means we can find all possible sequences with one digit repeated twice, and then divide by
.
If we let the three distinct digits of the sequence be and
, with
repeated twice, we can make a table with all possible sequences:
There are possible sequences.
Next, we can see how many ways we can pick ,
, and
. This is
, because there are
digits, from which we need to choose
with regard to order. This means there are
sequences of length
with one digit repeated. We divide by 10 to get
as our answer.
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
.
See Also
1983 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 9 |
Followed by Problem 11 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |