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

What is the remainder when \(5^{99}\) is divided by 13?

This question was previously asked in
NDA 2 2025 GAT Question Paper (14-Sep-2025)
The correct answer is
8

Understanding the Remainder Problem

The question asks us to find the remainder when the number \(5^{99}\) is divided by 13. This is a typical problem in modular arithmetic, often solved by looking for patterns in the remainders of powers of the base number (5 in this case) when divided by the divisor (13).

Modular Arithmetic and Cyclicity

We need to calculate \(5^{99} \pmod{13}\). Let's compute the remainders of the first few powers of 5 when divided by 13:

  • \(5^1 \pmod{13} = 5\)
  • \(5^2 \pmod{13} = 25 \pmod{13}\). Since \(25 = 1 \times 13 + 12\), the remainder is 12. So, \(5^2 \equiv 12 \pmod{13}\). Note that \(12\) is also equivalent to \(-1\) in modulo 13 (since \(12 = 13 - 1\)).
  • \(5^3 \pmod{13}\). We can calculate this as \(5^2 \times 5^1 \pmod{13}\). So, \(12 \times 5 \pmod{13} = 60 \pmod{13}\). Since \(60 = 4 \times 13 + 8\), the remainder is 8. So, \(5^3 \equiv 8 \pmod{13}\).
  • \(5^4 \pmod{13}\). We can calculate this as \(5^3 \times 5^1 \pmod{13}\). So, \(8 \times 5 \pmod{13} = 40 \pmod{13}\). Since \(40 = 3 \times 13 + 1\), the remainder is 1. So, \(5^4 \equiv 1 \pmod{13}\).

We found that \(5^4 \equiv 1 \pmod{13}\). This means the remainders of the powers of 5 when divided by 13 will repeat in a cycle of length 4: (5, 12, 8, 1, 5, 12, 8, 1, ...). This cycle length is also known as the order of 5 modulo 13.

Simplifying the Exponent

Because the cycle length is 4, to find the remainder of \(5^{99}\), we only need to know where the exponent 99 falls within this cycle. We can find this by calculating the remainder of 99 when divided by 4.

Divide 99 by 4: \(99 \div 4 = 24\) with a remainder of \(3\). Mathematically, we write this as \(99 \equiv 3 \pmod{4}\).

Calculating the Final Remainder

Since \(99 \equiv 3 \pmod{4}\), the remainder of \(5^{99}\) divided by 13 will be the same as the remainder of \(5^3\) divided by 13.

We can express \(5^{99}\) using the division result: \(5^{99} = 5^{4 \times 24 + 3} = (5^4)^{24} \times 5^3\)

Now, let's apply the modulo 13 operation:

\(5^{99} \equiv (5^4)^{24} \times 5^3 \pmod{13}\)

We know \(5^4 \equiv 1 \pmod{13}\). Substituting this in:

\(5^{99} \equiv (1)^{24} \times 5^3 \pmod{13}\) \(5^{99} \equiv 1 \times 5^3 \pmod{13}\) \(5^{99} \equiv 5^3 \pmod{13}\)

From our earlier calculations, we found that \(5^3 \equiv 8 \pmod{13}\).

Therefore, \(5^{99} \equiv 8 \pmod{13}\).

Conclusion

The remainder when \(5^{99}\) is divided by 13 is 8.

Was this answer helpful?

Similar Questions

  1. If x = (1111)₂, y = (1001)₂ and z = (110)₂, then what is x³ - y³ - z³ - 3xyz equal to?

  2. Consider the following statements :
    I. The set of all irrational numbers between \(\sqrt{12}\) and \(\sqrt{15}\) is an infinite set.
    II. The set of all odd integers less than 1000 is a finite set.
    Which of the statements given above is/are correct?
  3. What is the remainder when \(7^n - 6n\) is divided by 36 for \(n = 100\)?
  4. If \(26! = n8^k\), where \(k\) and \(n\) are positive integers, then what is the maximum value of \(k\)?
  5. What is the sum of the binary numbers \((101101101)_2\) and \((100011)_2\)?
  6. Let \(n\) be a natural number. The number of consecutive zeros at the end of the expansion of \(n!\) is exactly 2. How many values of \(n\) are possible?
  7. Four digit numbers are formed by using the digits \(1, 2, 3, 5\) without repetition of digits. How many of them are divisible by \(4\)?
  8. What is the remainder when \(2^{120}\) is divided by \(7\)?

Important Questions from Number System

  1. What is the value of 1 2 + 2 2 + 3 2 + ......21 2 ?

  2. Which sequence is correct to represent the hierarchical chain of number system?

    (Where N - Natural Numbers

    W - Whole Numbers

    Q - Rational Numbers

    Z - Integers)

  3. What must be added to 45680 to make it exactly divisible by 9?

  4. How many zeroes are there at the end of the following product? 

    1 x 5 x 10 x 15 x 20 x 25 x 30 x 35 x 40 x 45 x 50 x 55 x 60

  5. Let XYZ be a three-digit number, where (x + y + Z) is not a multiple of 3. Then (XYZ + YZX + ZXY) is not divisible by

Need Expert Advice?
Upcoming Exams
NDA
September 13, 2026
CDS
September 13, 2026
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
501 Tests 1 Tests Free
886 Attempts
4.6(131)
English, Hindi

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