Question discussion

What is the sum of all natural numbers from 1 to 100 that are divisible by 3 or 5?

1859Medium DSSSB TGT Computer Science 0 replies 1 views
0

What is the sum of all natural numbers from 1 to 100 that are divisible by 3 or 5?

  • A2318
  • B2733
  • C2103
  • D2418
Correct answer: D

Explanation

The sum of multiples of 3 is 1683 and of 5 is 1050, and the multiples of 15 (315) are counted twice, so the total is 1683 + 1050 − 315 = 2418.

Discussion 0

Nobody has replied yet. Start the discussion!