Quantitative AptitudeVery hardWipro Elite · Capgemini Exceller

What is the remainder when 5^100 is divided by 126?

  1. A. 1
  2. B. 121
  3. C. 25
  4. D. 125

Correct answer: B. 121

126 = 2 × 9 × 7, and 5 is coprime to it. The order of 5 mod 7 is 6 and mod 9 is 6 (mod 2 it is 1), so 5^6 ≡ 1 (mod 126). 100 ≡ 4 (mod 6), so 5^100 ≡ 5^4 = 625 ≡ 121 (mod 126).

More Number System, LCM and HCF questions

Exams that ask this topic