2005 AMC 10A Problems/Problem 14

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 1

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$, the only possible number is $999$. So there is $1$ number 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

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

2005 AMC 10A (ProblemsAnswer KeyResources)
Preceded by
Problem 13
Followed by
Problem 15
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 10 Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png

Invalid username
Login to AoPS