Magic Numbers!

Something do to with the difference between the 2 numbers being evenly divisible by 9 and then storing all possiblities, e.g. 9, 18, 27 ... 9999 ? If you omit one of the digits of these numbers, the code behind can deduce what it is from the three numbers you provide ?

Or maybe it's much simpler then that ?