Placement AptitudeVery hardAccenture · Wipro NLTH

What is the remainder when 7^300 is divided by 17?

  1. A. 2
  2. B. 1
  3. C. 13
  4. D. 0

Correct answer: C. 13

Since 17 is prime and gcd(7,17)=1, Fermat's little theorem gives 7^16 ≡ 1 (mod 17). Reducing the exponent 300 modulo 16 and computing the smaller power mod 17 gives a remainder of 13.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic