Placement AptitudeHardTCS NQT Advanced · Infosys SP

What is the remainder when 5^(5⁵), that is 5 raised to the power 3125, is divided by 13?

  1. A. 8
  2. B. 12
  3. C. 1
  4. D. 5

Correct answer: D. 5

5² = 25 ≡ −1 (mod 13), so 5⁴ ≡ 1 and the cycle length is 4. 3125 ≡ 1 (mod 4), so 5³¹²⁵ ≡ 5¹ = 5.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic