Placement AptitudeHardTCS NQT Advanced · Infosys

What is the remainder when 1·2 + 2·3 + 3·4 + … + 99·100 is divided by 7?

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

Correct answer: B. 2

The sum is n(n + 1)(n + 2)/3 with n = 99: 99 × 100 × 101/3 = 33 × 100 × 101. Mod 7: 33 ≡ 5, 100 ≡ 2, 101 ≡ 3, so 5 × 2 × 3 = 30 ≡ 2.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic