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

The sum of integers from 1 to 100 that are divisible by2 or 5 is


A

3000

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

3050

Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C

4050

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

None of these

No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B

3050


Explanation for the correct option:

Step 1. Find the sum of the digit divisible by 2 .

The integers which are divisible by 2 in between 1 and 100 is 2,4,6,....,100

So the first term a1=2 and the common difference is d=2

We know that the nth term is given by an=a1+dn-1

an=100

So n=an-a1d+1

n=100-22+1=50

We know that sum of first n term is S=n22a+dn-1

S=5022·2+250-1=2550

Step 2. Find the sum of the digit divisible by 5 .

The integers which are divisible by 5 in between 1 and 100 is 5,10,15,....,100

So the first term a1=5 and the common difference is d=5

We know that the nth term is given by an=a1+dn-1

an=100

So n=an-a1d+1

n=100-55+1=20

We know that sum of first n term is S=n22a+dn-1

S=2022·5+520-1=1050

Step 3. Find the sum of the digit divisible by 2and 5 .

The integers which are divisible by 2and 5 in between 1 and 100 is 10,20,....,100

So the first term a1=10 and the common difference is d=10

We know that the nth term is given by an=a1+dn-1

an=100

So n=an-a1d+1

n=100-1010+1=10

We know that sum of first n term is S=n22a+dn-1

S=1022·10+1010-1=550

Step 4. Find the sum of the digit divisible by2 or 5

Required sum = sum of integers divisible by 2 + sum of integers divisible by 5 sum of integers divisible 2 by and 5

Required sum =2550+1050-550=3050

Therefore, the sum of integers from 1 to 100 that are divisible by2 or 5 is 3050.

Hence, option (B) is the correct answer.


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