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

What is the remainder when 

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

is divided by 18?

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

Finding the Remainder of \((17^{25} + 19^{25})\) Divided by 18

This solution explains how to find the remainder when the expression \((17^{25} + 19^{25})\) is divided by \(18\). We will use the principles of modular arithmetic to simplify the calculation.

Understanding the Problem

We need to calculate the value of \(R\) in the equation:

\((17^{25} + 19^{25}) \equiv R \pmod{18}\)

where \(R\) is the remainder and must be \(0 \le R < 18\).

Applying Modular Arithmetic

Modular arithmetic allows us to work with remainders. The core idea is that if \(a \equiv b \pmod{m}\), then \(a^n \equiv b^n \pmod{m}\) for any positive integer \(n\). We first find the remainders of the bases (\(17\) and \(19\)) when divided by \(18\).

  • Remainder of \(17\) divided by \(18\):

    \(17 \div 18\) gives a quotient of \(0\) and a remainder of \(17\). In modular arithmetic, we can also express this using a negative remainder, which is often simpler:

    \(17 \equiv 17 \pmod{18}\)

    Alternatively, since \(17 = 18 - 1\), we can write:

    \(17 \equiv -1 \pmod{18}\)
  • Remainder of \(19\) divided by \(18\):

    \(19 \div 18\) gives a quotient of \(1\) and a remainder of \(1\).

    \(19 \equiv 1 \pmod{18}\)

Step-by-Step Calculation

Now, we substitute these congruences back into the original expression:

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

Using the properties of modular arithmetic, we replace \(17\) with \(-1\) and \(19\) with \(1\):

\(\equiv ((-1)^{25} + 1^{25}) \pmod{18}\)

Next, we evaluate the powers:

  • \((-1)^{25}\): Since the exponent \(25\) is an odd number, \((-1)^{25} = -1\).
  • \(1^{25}\): Any positive integer power of \(1\) is \(1\). So, \(1^{25} = 1\).

Substitute these results back into the expression:

\(\equiv (-1 + 1) \pmod{18}\)

Calculate the sum:

\(\equiv 0 \pmod{18}\)

Final Remainder

The result of the calculation is \(0 \pmod{18}\). This means that when \((17^{25} + 19^{25})\) is divided by \(18\), the remainder 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. 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.

  9. 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?
  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