Given that a, b, and c are distinct digits (i.e., no two are equal), how many three digit numbers abc exist where a + b = c?
How does your answer change if a, b, and c are not all distinct?