How many three-digit numbers have a middle digit that is strictly greater than both the first digit and the last digit?
Type in the answer (TITA): no options.
Show answer & solution
Correct answer: 240
Solution: If the middle digit is m, the first digit can be 1 to m − 1 (m − 1 choices) and the last 0 to m − 1 (m choices). Sum over m = 2 to 9 of m(m − 1) = 2 + 6 + 12 + 20 + 30 + 42 + 56 + 72 = 240.