Placement AptitudeVery hardTCS NQT · Infosys

What is the sum of all integers from 1 to 100 that are divisible by neither 3 nor 5?

  1. A. 2418
  2. B. 2732
  3. C. 2632
  4. D. 2532

Correct answer: C. 2632

Sum 1–100 = 5050. Multiples of 3 sum to 1683, of 5 to 1050, and of 15 to 315, so those divisible by 3 or 5 sum to 1683 + 1050 − 315 = 2418. 5050 − 2418 = 2632.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic