Difference between revisions of "2007 AMC 12A Problems/Problem 16"

(solution)
 
(Video Solution)
 
(21 intermediate revisions by 15 users not shown)
Line 1: Line 1:
== Problems ==
+
== Problem ==
How many three-digit numbers are composed of three distinct digits such that one digit is the average of the other two?  
+
How many three-digit numbers are composed of three distinct digits such that one digit is the [[average]] of the other two?  
  
<math>\mathrm{(A)}\ 96\qquad \mathrm{(B)}\ \frac 104\qquad \mathrm{(C)}\ \frac 112\qquad \mathrm{(D)}\ \frac 120\qquad \mathrm{(E)}\ 256</math>
+
<math>\mathrm{(A)}\ 96\qquad \mathrm{(B)}\ 104\qquad \mathrm{(C)}\ 112\qquad \mathrm{(D)}\ 120\qquad \mathrm{(E)}\ 256</math>
  
== Solution ==
+
 
 +
== Solution 1==
 
We can find the number of increasing [[arithmetic sequence]]s of length 3 possible from 0 to 9, and then find all the possible permutations of these sequences.
 
We can find the number of increasing [[arithmetic sequence]]s of length 3 possible from 0 to 9, and then find all the possible permutations of these sequences.
  
Line 22: Line 23:
 
This gives us a total of <math>2 + 4 + 6 + 8 = 20</math> sequences. There are <math>3! = 6</math> to permute these, for a total of <math>120</math>.
 
This gives us a total of <math>2 + 4 + 6 + 8 = 20</math> sequences. There are <math>3! = 6</math> to permute these, for a total of <math>120</math>.
  
However, we note that the conditions of the problem require two digit numbers, and hence our numbers cannot start with zero. There are <math>2! \cdot 4 = 8</math> numbers which start with zero, so our answer is <math>120 - 8 = 112 \Longrightarrow \mathrm{(C)}</math>.
+
However, we note that the conditions of the problem require three-digit numbers, and hence our numbers cannot start with zero. There are <math>2! \cdot 4 = 8</math> numbers which start with zero, so our answer is <math>120 - 8 = 112 \Longrightarrow \mathrm{(C)}</math>.
 +
 
 +
==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 <math>3! = 6</math> possible 3-digit numbers; otherwise, <math>4</math> 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 <math>\binom{5}{2} + \binom{4}{2} = 16</math> ways to choose two nonzero digits of the same parity, and each choice generates <math>3! = 6</math> 3-digit numbers, giving <math>16 \times 6 = 96</math> numbers.
 +
 
 +
Case 2: 0 is in the number. Then there are <math>4</math> ways to choose the largest digit (2, 4, 6, or 8), and each choice generates <math>4</math> 3-digit numbers, giving <math>4 \times 4 = 16</math> numbers.
 +
 
 +
Thus the total is <math>96 + 16 = 112 \Longrightarrow \mathrm{(C)}</math>. (by scrabbler94)
 +
 
 +
== Video Solution by OmegaLearn ==
 +
https://youtu.be/0W3VmFp55cM?t=2012
 +
 
 +
~ pi_is_3.14
 +
 
 +
== Closely-related question and solution (podcast) ==
 +
 
 +
https://www.buzzsprout.com/56982/episodes/415913 starts with a variation on this question (plus solution)
 +
 
 +
== See Also ==
  
== See also ==
 
 
{{AMC12 box|year=2007|ab=A|num-b=15|num-a=17}}
 
{{AMC12 box|year=2007|ab=A|num-b=15|num-a=17}}
  
[[Category:Introductory Algebra Problems]]
+
{{MAA Notice}}

Latest revision as of 04:01, 4 November 2022

Problem

How many three-digit numbers are composed of three distinct digits such that one digit is the average of the other two?

$\mathrm{(A)}\ 96\qquad \mathrm{(B)}\ 104\qquad \mathrm{(C)}\ 112\qquad \mathrm{(D)}\ 120\qquad \mathrm{(E)}\ 256$


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 $012, \ldots, 789$ 8
2 $024, \ldots, 579$ 6
3 $036, \ldots, 369$ 4
4 $048, \ldots, 159$ 2

This gives us a total of $2 + 4 + 6 + 8 = 20$ sequences. There are $3! = 6$ to permute these, for a total of $120$.

However, we note that the conditions of the problem require three-digit numbers, and hence our numbers cannot start with zero. There are $2! \cdot 4 = 8$ numbers which start with zero, so our answer is $120 - 8 = 112 \Longrightarrow \mathrm{(C)}$.

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 $3! = 6$ possible 3-digit numbers; otherwise, $4$ 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 $\binom{5}{2} + \binom{4}{2} = 16$ ways to choose two nonzero digits of the same parity, and each choice generates $3! = 6$ 3-digit numbers, giving $16 \times 6 = 96$ numbers.

Case 2: 0 is in the number. Then there are $4$ ways to choose the largest digit (2, 4, 6, or 8), and each choice generates $4$ 3-digit numbers, giving $4 \times 4 = 16$ numbers.

Thus the total is $96 + 16 = 112 \Longrightarrow \mathrm{(C)}$. (by scrabbler94)

Video Solution by OmegaLearn

https://youtu.be/0W3VmFp55cM?t=2012

~ pi_is_3.14

Closely-related question and solution (podcast)

https://www.buzzsprout.com/56982/episodes/415913 starts with a variation on this question (plus solution)

See Also

2007 AMC 12A (ProblemsAnswer KeyResources)
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. AMC logo.png