UPSC CSAT 2026 Q66: Reversed Two-Digit Number Difference — Solved
A is a 2-digit number with different digits. B is also a 2-digit number and is obtained by reversing the digits of A. If A − B is a multiple of 27, where A > B, how many such different A's are possible?
- 6
- 9
- 12
- 18
Answer: (b) 9
Solution
- Write A in terms of its digits. Let the tens digit be x and the units digit be y. Then A = 10x + y.
- B is A with its digits reversed, so B = 10y + x.
- Find the difference: A − B = (10x + y) − (10y + x) = 9x − 9y = 9(x − y).
- Apply the condition. A − B must be a multiple of 27. Since 27 = 9 × 3, we need 9(x − y) to be a multiple of 9 × 3. So (x − y) must be a multiple of 3.
-
Set the limits. - A > B means x > y, so x − y is positive. - The digits are different, so x − y ≠ 0. - x and y are digits, so x − y ≤ 9. - B must also be a 2-digit number. Its tens digit is y, so y cannot be 0. That gives y ≥ 1. - With y ≥ 1 and x ≤ 9, x − y ≤ 8. So x − y can only be 3 or 6.
-
Case x − y = 3 (A − B = 27): y = 1 to 6 gives A = 41, 52, 63, 74, 85, 96. That is 6 numbers.
- Case x − y = 6 (A − B = 54): y = 1 to 3 gives A = 71, 82, 93. That is 3 numbers.
- Case x − y = 9 (A − B = 81): the only option is x = 9, y = 0, so A = 90. Then B = 09, which is not a 2-digit number. Rejected.
- Check one value from each case: 63 − 36 = 27 = 27 × 1, and 82 − 28 = 54 = 27 × 2. Both work.
- Total = 6 + 3 = 9.
Answer: 9 such values of A are possible.
Option-wise explanation
- a: incorrect — 6 counts only the numbers whose difference is exactly 27 (x − y = 3). It misses the case where the difference is 54 (x − y = 6), which adds 71, 82 and 93. The trap is reading 'multiple of 27' as 'equal to 27'.
- b: correct — A − B = 9(x − y), so x − y must be 3 or 6. Since B must be a 2-digit number, y ≥ 1. That gives 6 numbers for a difference of 3 (41 to 96) and 3 numbers for a difference of 6 (71, 82, 93): 9 in total.
- c: incorrect — 12 comes from letting the units digit of A be 0. That adds 30, 60 and 90, whose reverses 03, 06 and 09 are not 2-digit numbers. The trap is forgetting that B must also be a 2-digit number.
- d: incorrect — 18 doubles the correct count of 9. It counts both numbers in each pair, such as 63 and 36. The question needs A > B, so only the larger number of each pair counts.
How to eliminate
Use the known identity: (2-digit number) − (its reverse) = 9 × (difference of digits). For a multiple of 27, the digit difference must be 3 or 6. Do not list the numbers. Count them. For a difference of d with the smaller digit at least 1, there are 9 − d choices. That gives 9 − 3 = 6 and 9 − 6 = 3, so 9. Then check each distractor. 6 is the difference-3 case alone. 12 adds 30, 60 and 90, which have a zero digit. 18 counts both orders. Once you know the identity, this takes about 45–60 seconds. Attempt it in the first round.
Know more
Digit reversal: the 9 and 11 rules
For a 2-digit number with tens digit x and units digit y:
| Expression | Value | Always divisible by |
|---|---|---|
| (10x + y) − (10y + x) | 9(x − y) | 9 |
| (10x + y) + (10y + x) | 11(x + y) | 11 |
So a 'difference with the reverse' condition becomes a condition on x − y, and a 'sum with the reverse' condition becomes a condition on x + y. The question then turns into counting digit pairs.
Counting pairs. With x > y:
- If y can be 0, a digit difference d has 10 − d pairs.
- If y ≥ 1 (the reverse must also be 2-digit), d has 9 − d pairs.
Always check whether a reversed number with a leading zero is allowed. That one line changes the answer.
Worked variant. How many 2-digit numbers N, with N + reverse(N) a multiple of 33, are there? N + reverse = 11(x + y), so x + y must be a multiple of 3: 3, 6, 9, 12, 15 or 18. If x ≥ 1 and y can be 0, the number of pairs for each sum is: 3 → 3, 6 → 6, 9 → 9, 12 → 7, 15 → 4, 18 → 1. Total = 30.
The same method extends to 3-digit numbers: abc − cba = 99(a − c).