Placement AptitudeVery hardAccenture · Wipro NLTH

What is the remainder when 19^100 is divided by 31?

  1. A. 11
  2. B. 14
  3. C. 13
  4. D. 25

Correct answer: D. 25

Since 31 is prime and gcd(19,31)=1, Fermat's little theorem gives 19^30 ≡ 1 (mod 31). Reducing the exponent 100 modulo 30 and computing the smaller power mod 31 gives a remainder of 25.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic