Placement AptitudeVery hardInfosys Specialist Programmer

Find the remainder when 2^100 is divided by 5.

  1. A. 1
  2. B. -6
  3. C. 8
  4. D. 6

Correct answer: A. 1

By Fermat's little theorem, 2^4 ≡ 1 (mod 5). Since 100 = 4×25, 2^100 ≡ 1 (mod 5).

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic