Counting z=abc-cba
Source:
December 28, 2006
Problem Statement
Given that
\begin{eqnarray*}&(1)& \text{x and y are both integers between 100 and 999, inclusive;}\qquad \qquad \qquad \qquad \qquad \\ &(2)& \text{y is the number formed by reversing the digits of x; and}\\ &(3)& z=|x-y|. \end{eqnarray*}How many distinct values of are possible?