Placement AptitudeHardTCS NQT · Infosys · Accenture

What is the remainder when 7^100 is divided by 13?

  1. A. 11
  2. B. 1
  3. C. 9
  4. D. 5

Correct answer: C. 9

7^12 ≡ 1 (mod 13) by Fermat, so 7^100 ≡ 7^4 (mod 13). 7^2 = 49 ≡ 10, so 7^4 ≡ 100 ≡ 9.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic