wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The sum of the integers from 1 to 100 which are not divisible by 3 or 5 is


A

2489

No worries! We‘ve got your back. Try BYJU‘S free classes today!
B

4735

No worries! We‘ve got your back. Try BYJU‘S free classes today!
C

2317

No worries! We‘ve got your back. Try BYJU‘S free classes today!
D

2632

Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D

2632


Explanation for the correct option:

Step 1: Calculate the sum of the first 100 natural numbers

Sum of first n natural numbers =nn+12

Sum of first 100 natural numbers =100100+12
=100(101)2=5050

Step 2: Calculate the sum of multiples of 3 upto 100

Integers divisible by 3 upto 100 are 3,6,9,,99

These are in arithmetic progression (AP).

General form of an AP is
an=a+n-1d
Where, a is the first term, d is common difference, and an is the nth term.

99=3+(n-1)3n=33

Sum of an AP is given as
Sn=n22a+n-1d

Thus, the sum of the multiples of 3 is

S33=3322×3+33-13=1683

Step 3: Calculate the sum of multiples of 5 upto 100

Integers divisible by 5 upto 100 are 5,10,15,,100

These are in arithmetic progression (AP). Thus, from the general formula for nth term of an AP,

100=5+(n-1)5n=20

Thus, the sum of the multiples of 3 is

S20=2022×5+22-15=1050

Step 4: Find the sum of multiples of 3 and 5 upto 100

Integers divisible by 15 upto 100 are 15,30,45,90

These are in arithmetic progression (AP). Their common difference is 15.
Thus, from the general formula for nth term of an AP,

90=15+(n-1)15n=6

The sum of the multiple of 3 and 5 is

S6=622×15+6-115=315

Step 5: Find the required sum

So, the sum of integers from 1 to 100 which are not divisible by 3 or 5 =The sum of the first 100 natural numbers
-the sum of multiples of 3-the sum of multiples of 5
+ the sum of the multiples of both 3 and 5

=5050-1683-1050+315=2632

(Since the terms divisible by 3 and 5 are accounted for in their respective multiples, they get subtracted twice. Thus, we need to add them once)

Hence, the correct option is D.


flag
Suggest Corrections
thumbs-up
64
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Sum of n Terms of an AP
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon