Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: how many 3 - digit numbers abc , in which a , b , and c are each digits , satisfy the equation 2 b = a + c ?
45