AMC 12A 2005 Problem 11

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