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 by 2 or 5 is _________.

Open in App
Solution

The sum of integers from 1 to 100 that are divisible by 2 or 5 is
S = sum of integers from 1 to 100divisible by 2 + sum of integers from 1 to 100 divisible by 5 - sum of integers from 1 to 100 divisible by 10

=(2+4+6+...+100)+(5+10+15+...+100)(10+20+...+100)

=502[2×2+49×2]+202[2×5+19×5]102[2×10+9×10]

=2550+1050550=3050


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