Maths Olympiad Prep

Track / Stage 2 / 27 of 240 #267 of 2444

Problem 267

Number theory Difficulty 2.3 Find the answer CEMC Fermat · Canada · 2021

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?

55
77
66
88
99

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Next problem →

Official solution

Suppose that the original integer has tens digit aa and ones (units) digit bb.

This integer is equal to 10a+b10a+b.

When the digits are reversed, the tens digit of the new integer is bb and the ones digit is aa.

This new integer is equal to 10b+a10b+a.

Since the new two-digit integer minus the original integer is 54, then (10b+a)(10a+b)=54(10b+a)-(10a+b)=54 and so 9b9a=549b-9a=54 which gives ba=6b-a=6.

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.

Source: CEMC, University of Waterloo, licensed CC-BY-NC-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.