Difference between revisions of "2005 AMC 10A Problems/Problem 14"

(Solution)
(Solution)
Line 28: Line 28:
  
 
So the total number of three-digit numbers that satisfy the property is <math>2+4+6+8+9+7+5+3+1=45\Rightarrow E</math>
 
So the total number of three-digit numbers that satisfy the property is <math>2+4+6+8+9+7+5+3+1=45\Rightarrow E</math>
 
+
== Solution 2 (much faster and slicker)==
 
Alternatively, we could note that the middle digit is uniquely defined by the first and third digits, since it is half of their sum. This also means that the sum of the first and third digits must be even. Since even numbers are formed either by adding two odd numbers or two even numbers, we can split our problem into 2 cases:
 
Alternatively, we could note that the middle digit is uniquely defined by the first and third digits, since it is half of their sum. This also means that the sum of the first and third digits must be even. Since even numbers are formed either by adding two odd numbers or two even numbers, we can split our problem into 2 cases:
  

Revision as of 11:14, 1 January 2009

Problem

How many three-digit numbers satisfy the property that the middle digit is the average of the first and the last digits?

$\mathrm{(A) \ } 41\qquad \mathrm{(B) \ } 42\qquad \mathrm{(C) \ } 43\qquad \mathrm{(D) \ } 44\qquad \mathrm{(E) \ } 45$

Solution

If the middle digit is the average of the first and last digits, twice the middle digit must be equal to the sum of the first and last digits.

Doing some casework:

If the middle digit is $1$, possible numbers range from $111$ to $210$. So there are $2$ numbers in this case.

If the middle digit is $2$, possible numbers range from $123$ to $420$. So there are $4$ numbers in this case.

If the middle digit is $3$, possible numbers range from $135$ to $630$. So there are $6$ numbers in this case.

If the middle digit is $4$, possible numbers range from $147$ to $840$. So there are $8$ numbers in this case.

If the middle digit is $5$, possible numbers range from $159$ to $951$. So there are $9$ numbers in this case.

If the middle digit is $6$, possible numbers range from $369$ to $963$. So there are $7$ numbers in this case.

If the middle digit is $7$, possible numbers range from $579$ to $975$. So there are $5$ numbers in this case.

If the middle digit is $8$, possible numbers range from $789$ to $987$. So there are $3$ numbers in this case.

If the middle digit is $9$, possible numbers range from $999$ to $999$. So there are $1$ numbers in this case.

So the total number of three-digit numbers that satisfy the property is $2+4+6+8+9+7+5+3+1=45\Rightarrow E$

Solution 2 (much faster and slicker)

Alternatively, we could note that the middle digit is uniquely defined by the first and third digits, since it is half of their sum. This also means that the sum of the first and third digits must be even. Since even numbers are formed either by adding two odd numbers or two even numbers, we can split our problem into 2 cases:

If both the first digit and the last digit are odd, then we have 1, 3, 5, 7, or 9 as choices for each of these digits, and there are $5\cdot5=25$ numbers in this case.

If both the first and last digits are even, then we have 2, 4, 6, 8 as our choices for the first digit and 0, 2, 4, 6, 8 for the third digit. There are $4\cdot5=20$ numbers here.

The total number, then, is $20+25=45\Rightarrow E$

See Also