Placement AptitudeHardTCS NQT Advanced · Capgemini

What is the remainder when 2¹ + 2² + 2³ + … + 2¹⁰⁰ is divided by 7?

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

Correct answer: C. 2

The sum is 2¹⁰¹ − 2. Since 2³ ≡ 1 (mod 7) and 101 = 3 × 33 + 2, 2¹⁰¹ ≡ 4, so the sum ≡ 4 − 2 = 2.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic