By signing in you confirm you are 18 or older, or have your parent’s or guardian’s consent.

UPSC Prelims 2026 CSAT, question 66

Topic: Number system

Q66

AA is a 2-digit number with different digits. BB is also a 2-digit number and is obtained by reversing the digits of AA. If A−BA-B is a multiple of 27, where A>BA>B, how many such different AA's are possible?

  1. (a) 6
  2. (b) 9Correct answer
  3. (c) 12
  4. (d) 18

Solution.

Answer: (b) 9

  1. Let A=10x+yA = 10x + y and B=10y+xB = 10y + x with distinct digits x,yx, y; since BB is a 2-digit number and A>BA > B, we have 1≤y<x≤91 \le y < x \le 9.
  2. Then A−B=9(x−y)A - B = 9(x - y) is a multiple of 2727 if and only if x−yx - y is a multiple of 33, so x−y∈{3,6}x - y \in \{3, 6\}.
  3. For x−y=3x - y = 3, y∈{1,2,3,4,5,6}y \in \{1, 2, 3, 4, 5, 6\} gives 66 numbers; for x−y=6x - y = 6, y∈{1,2,3}y \in \{1, 2, 3\} gives 33 numbers, making 6+3=96 + 3 = 9 possible values of AA.

Trap: Because BB is explicitly stated to be a 2-digit number, the units digit yy of AA cannot be 00 (which would add 30,60,9030, 60, 90 to give 12).