Let m and n be two digit natural numbers. The number of pairs such that can be subtracted from m without borrowing is:
Suppose and where and
Note that Thus can take values.
Similarly, therefor, can take a values.
Hence, the required number of pairs is