Placement AptitudeVery hardAccenture · Wipro NLTH

What is the remainder when 13^400 is divided by 23?

  1. A. 4
  2. B. 17
  3. C. 18
  4. D. 6

Correct answer: C. 18

Since 23 is prime and gcd(13,23)=1, Fermat's little theorem gives 13^22 ≡ 1 (mod 23). Reducing the exponent 400 modulo 22 and computing the smaller power mod 23 gives a remainder of 18.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic