All Exams Test series for 1 year @ ₹349 only
Question

Let XYZ be a 3-digit number. Let D be the difference between XYZ and ZYX. What is the remainder when D is divided by 99?

This question was previously asked in
CDS 2 2025 Maths Question Paper (14-Sep-2025)
The correct answer is
0

Understanding the Problem: 3-Digit Number Difference

We are given a 3-digit number, represented as XYZ. This means the number can be written algebraically using its digits:

  • \(XYZ = 100X + 10Y + Z\)

We are also given its reverse, ZYX. This number can be written as:

  • \(ZYX = 100Z + 10Y + X\)

Here, X, Y, and Z represent the digits of the number. X is the hundreds digit, Y is the tens digit, and Z is the units digit. For XYZ to be a 3-digit number, X must be non-zero (\(X \in \{1, 2, ..., 9\}\)). Z can be any digit (\(Z \in \{0, 1, ..., 9\}\)). Similarly, for ZYX to be considered, Z is the hundreds digit and X is the units digit.

The problem defines D as the difference between XYZ and ZYX.

Calculating the Difference (D)

Let's calculate D using the algebraic representations:

  • \(D = XYZ - ZYX\)
  • \(D = (100X + 10Y + Z) - (100Z + 10Y + X)\)

Now, we simplify the expression by combining like terms:

  • \(D = 100X + 10Y + Z - 100Z - 10Y - X\)
  • Group the terms involving X, Y, and Z:
  • \(D = (100X - X) + (10Y - 10Y) + (Z - 100Z)\)
  • \(D = 99X + 0 - 99Z\)
  • \(D = 99X - 99Z\)

We can factor out 99 from the expression:

  • \(D = 99(X - Z)\)

Finding the Remainder when D is Divided by 99

The question asks for the remainder when D is divided by 99. We have found that \(D = 99(X - Z)\).

Let's perform the division:

  • \(\frac{D}{99} = \frac{99(X - Z)}{99}\)

Simplifying this gives:

  • \(\frac{D}{99} = X - Z\)

Since X and Z are digits, their difference (\(X - Z\)) is an integer. For example, if X=7 and Z=3, \(X-Z = 4\). If X=2 and Z=8, \(X-Z = -6\). The division \(\frac{99(X - Z)}{99}\) results in the integer \((X - Z)\) with no fractional part.

In mathematical terms, when a number is expressed as \(99 \times k\) (where k is an integer, in our case \(k = X-Z\)), dividing it by 99 always results in the integer k, and the remainder is 0.

Therefore, the remainder when D is divided by 99 is 0.

Was this answer helpful?

Similar Questions

  1. What is the sum of the largest and the smallest 4-digit numbers made by using single digit prime numbers (without repetition)?

  2. XYZ is a 3-digit number, where X, Y, Z are distinct non-zero digits. The difference between the two 3-digit numbers XYZ and YXZ is 90. How many possible values exist for the sum (X+Y) ?
  3. The number 199 can be written as \(m^2 - n^2\), where \(m, n\) are natural numbers (\(m > n\)). What is the value of \(mn\)?
  4. How many numbers of the form \(2^n - 1\) and less than 2000 are prime?
  5. If \(\frac{1}{a + \frac{1}{b + \frac{1}{c + \frac{1}{d + \frac{1}{e}}}}} = \frac{421}{972}\), then what is the value of \(a \times b \times c \times d \times e\)?
  6. Let \(p\) and \(q\) be natural numbers such that \(q > p\). What is the largest value of \(p\) such that \(q^2 - 5p-4\) is negative?
  7. Let \(x\) and \(y\) be natural numbers, each less than 20, such that \(x\), \(y\), \(x+y\) and \(x-y\) are prime numbers. How many such combinations of \((x, y, x+y, x - y)\) are possible?
  8. What is the remainder when 

    \((17^{25} +19^{25})\) 

    is divided by 18?

  9. Let \(x = n(n+1)(n+2)\), where \(n\) is an even natural number. Which of the following statements is/are correct? 

    I. \(x\) is always divisible by 48. 

    II. \(x^2\) is always divisible by 144. 

    Select the answer using the code given below.

  10. Let \(p\) and \(q\) be two natural numbers such that \((p+q)^{p+q}\) is divisible by 512. What is the least value of \((p+q)\)?

Important Questions from Number System

  1. The number 253118139 is divisible by which of the following?
  2. The number of prime numbers lying between 476 and 485, both included, is:
  3. The product of two consecutive natural numbers is 6. The greater of the two numbers is:
  4. Which of the following numbers divides 386937355?
  5. If 1 is added to each odd digit and 2 is subtracted from each even digit in the number 8317456, what will be the sum of the digits that are second from the left and second from the right?

Need Expert Advice?
Test Series
CDS img
Defence
UPSC CDS 2026 Mock Test Series
559 Tests 4 Tests Free
1821 Attempts
4.3(195)
English, Hindi
More Questions from CDS

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App