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

Jetpakturtle (talk | contribs) m (→Solution 2 (much faster, slicker and awesomer)) |
m (→Solution) |
||

Line 4: | Line 4: | ||

<math> \mathrm{(A) \ } 41\qquad \mathrm{(B) \ } 42\qquad \mathrm{(C) \ } 43\qquad \mathrm{(D) \ } 44\qquad \mathrm{(E) \ } 45 </math> | <math> \mathrm{(A) \ } 41\qquad \mathrm{(B) \ } 42\qquad \mathrm{(C) \ } 43\qquad \mathrm{(D) \ } 44\qquad \mathrm{(E) \ } 45 </math> | ||

− | ==Solution== | + | ==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. | 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. | ||

## Revision as of 14:01, 25 February 2018

## Problem

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

## 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 , possible numbers range from to . So there are numbers in this case.

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

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

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

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

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

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

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

If the middle digit is , the only possible number is . So there is number in this case.

So the total number of three-digit numbers that satisfy the property is

## Solution 2 (much faster, slicker and more awesome)

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 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 numbers here.

The total number, then, is

## See Also

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