Maths Olympiad Prep

Library / /407 of 520

Number theory Difficulty 3.7 AMC 10/12 Find the answer

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

Pick one

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 11, possible numbers range from 111111 to 210210. So there are 22 numbers in this case.
If the middle digit is 22, possible numbers range from 123123 to 420420. So there are 44 numbers in this case.
If the middle digit is 33, possible numbers range from 135135 to 630630. So there are 66 numbers in this case.
If the middle digit is 44, possible numbers range from 147147 to 840840. So there are 88 numbers in this case.
If the middle digit is 55, possible numbers range from 159159 to 951951. So there are 99 numbers in this case.
If the middle digit is 66, possible numbers range from 369369 to 963963. So there are 77 numbers in this case.
If the middle digit is 77, possible numbers range from 579579 to 975975. So there are 55 numbers in this case.
If the middle digit is 88, possible numbers range from 789789 to 987987. So there are 33 numbers in this case.
If the middle digit is 99, the only possible number is 999999. So there is 11 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=(E) 452+4+6+8+9+7+5+3+1=\boxed{\textbf{(E) }45}

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.