The digits in a two-digit positive integer are reversed. The new two-digit integer minus the original integer equals 54. What is the positive difference between the two digits of the original integer?
Problem 267
Official solution
Suppose that the original integer has tens digit and ones (units) digit .
This integer is equal to .
When the digits are reversed, the tens digit of the new integer is and the ones digit is .
This new integer is equal to .
Since the new two-digit integer minus the original integer is 54, then and so which gives .
Thus, the positive difference between the two digits of the original integer is 6. An example of a pair of such integers is 71 and 17.