Placement AptitudeHardTCS NQT · Infosys

What is the remainder when 1² + 2² + 3² + … + 100² is divided by 9?

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

Correct answer: B. 4

The sum is 100 × 101 × 201/6 = 338350, whose digit sum is 22, so it leaves 4 on division by 9. (Mod 9 directly: 50 × 101 × 67 ≡ 5 × 2 × 4 = 40 ≡ 4.)

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic