Difference between revisions of "2007 AMC 12A Problems/Problem 16"
(→Solution 3) |
|||
Line 39: | Line 39: | ||
That's what I did. Then, I had time at the end to go back and verify. | That's what I did. Then, I had time at the end to go back and verify. | ||
-Rowechen. | -Rowechen. | ||
+ | |||
+ | |||
+ | B and D do too... | ||
== See also == | == See also == |
Revision as of 19:40, 30 December 2018
Contents
[hide]Problems
How many three-digit numbers are composed of three distinct digits such that one digit is the average of the other two?
Solution 1
We can find the number of increasing arithmetic sequences of length 3 possible from 0 to 9, and then find all the possible permutations of these sequences.
Common difference | Sequences possible | Number of sequences |
1 | 8 | |
2 | 6 | |
3 | 4 | |
4 | 2 |
This gives us a total of sequences. There are to permute these, for a total of .
However, we note that the conditions of the problem require three-digit numbers, and hence our numbers cannot start with zero. There are numbers which start with zero, so our answer is .
Solution 2
Observe that, if the smallest and largest digit have the same parity, this uniquely determines the middle digit. If the smallest digit is not zero, then any choice of the smallest and largest digit gives possible 3-digit numbers; otherwise, possible 3-digit numbers. Hence we can do simple casework on whether 0 is in the number or not.
Case 1: 0 is not in the number. Then there are ways to choose two nonzero digits of the same parity, and each choice generates 3-digit numbers, giving numbers.
Case 2: 0 is in the number. Then there are ways to choose the largest digit (2, 4, 6, or 8), and each choice generates 3-digit numbers, giving numbers.
Thus the total is . (by scrabbler94)
Solution 3
This solution takes advantage of the choices available, and as such, will get you nowhere on the AIME and most other contests. Observe that there's a common mistake where people forget that 0 could be part of the number. 4 valid permutations of and result in total that they miss. Looking at the answers, only two differ by , namely and . So it's safe to bet that the answer is
That's what I did. Then, I had time at the end to go back and verify. -Rowechen.
B and D do too...
See also
2007 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 15 |
Followed by Problem 17 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.