Skip to content
Get started

Sum of multiples of 3 or 5

MediumBrainteasers4 min

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

Show hints (2)+
  1. Inclusion–exclusion: add multiples of 3 and of 5, then subtract the overlap.
  2. The overlap is multiples of lcm(3,5)=15\mathrm{lcm}(3,5)=15, not 3+53+5.

Answer

Reveal answer →

2418

Create a free account to see the full worked solution and track your progress.

Interview format: Numerical Reasoning Tests, Trading Aptitude Tests

Related questions