UPSC PYQPrelims 2024

Civil Services Examination · Question 35

Let X be a two-digit number and Y be another two-digit number formed by interchanging the digits of X. If (X + Y) is the greatest two-digit number, then what is the number of possible values of X?

  1. 2

  2. 4

  3. 6

  4. 8

Show answer & explanationShow explanation

Answer: (D) 8

Explanation

Given / Concept: Let X = 10a + b and Y = 10b + a. Since both X and Y are two-digit numbers, a ≥ 1 and b ≥ 1. Use Greatest Two-Digit Sum: X + Y = 11(a + b). The greatest two-digit number is 99 (which is divisible by 11): ⇒ 11(a + b) = 99 ⇒ a + b = 9. Count Valid Pairs: Since a, b ∈ {1, 2, …, 9}, the valid pairs (a, b) are (1,8), (2,7), (3,6), (4,5), (5,4), (6,3), (7,2), and (8,1). ⇒ X can be 18, 27, 36, 45, 54, 63, 72, or 81 (note: X = 90 is excluded because Y = 09 is not a two-digit number). Result: There are 8 possible values of X. Correct Answer: (d) 8

Diagram explaining the answer