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

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

Line 29: | Line 29: | ||

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, slicker and | + | == 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 | + | 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 <math>5\cdot5=25</math> numbers in this case. | 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 <math>5\cdot5=25</math> numbers in this case. |

## Revision as of 00:55, 22 December 2017

## Problem

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

## 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 , 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.