Placement AptitudeModerateTCS NQT · Capgemini

What is the remainder when 5¹⁰⁰ is divided by 18?

  1. A. 7
  2. B. 1
  3. C. 11
  4. D. 13

Correct answer: D. 13

φ(18) = 6 and gcd(5, 18) = 1, so 5⁶ ≡ 1 (mod 18). 100 ≡ 4 (mod 6), so 5¹⁰⁰ ≡ 5⁴ = 625 = 18 × 34 + 13, remainder 13. Reducing the exponent mod 4 (a unit-digit habit) wrongly gives 1.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic