Bunuel
How many positive three-digit numbers are composed of three distinct digits such that one digit is the average of the other two?
(A) 96
(B) 104
(C) 112
(D) 120
(E) 256
If the “average” digit is 1, then the other two digits are 0 and 2. For example, 210.
If the “average” digit is 2, then the other two digits are 1 and 3 OR 0 and 4. For example, 321 and 420.
If the “average” digit is 3, then the other two digits are 2 and 4 OR 1 and 5 OR 0 and 6. For example, 432, 531 and 630.
If the “average” digit is 4, then the other two digits are 3 and 5 OR 2 and 6 OR 1 and 7 OR 0 and 8. For example, 543, 642, 741 and 840.
If the “average” digit is 5, then the other two digits are 4 and 6 OR 3 and 7 OR 2 and 8 OR 1 and 9. For example, 654, 753, 852 and 951.
If the “average” digit is 6, then the other two digits are 5 and 7 OR 4 and 8 OR 3 and 9. For example, 765, 864 and 963.
If the “average” digit is 7, then the other two digits are 6 and 8 OR 5 and 9. For example, 876 and 975.
If the “average” digit is 8, then the other two digits are 7 and 9. For example, 987.
For 20 numbers listed above as examples, all but 4 have nonzero distinct digits. So each of them has 3! = 6 ways to permute its digits (for example, 321 could be 123, 132, 213, 231 and 312, in addition to itself). For the 4 numbers that have zero as one of the digits, each of them only has 4 ways to permute its digits (for example, 210 could be 102, 120 and 201, in addition to itself). Therefore, the total number of numbers is 16 x 6 + 4 x 4 = 96 + 16 = 112.
Answer: C