AMC 10A 2005 Problem 14

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

Answer Choices
A. 41
B. 42
C. 43
D. 44
E. 45