Placement AptitudeVery hardAccenture · Wipro NLTH

What is the remainder when 37^123 is divided by 47?

  1. A. 41
  2. B. 34
  3. C. 3
  4. D. 27

Correct answer: D. 27

Since 47 is prime and gcd(37,47)=1, Fermat's little theorem gives 37^46 ≡ 1 (mod 47). Reducing the exponent 123 modulo 46 and computing the smaller power mod 47 gives a remainder of 27.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic