We need to find the sum of numbers between
100 and
200 which are not divisible by
5.
We can first find the sum of all numbers between 100 and 200, then later subtract the sum of numbers divisible by 5.
Let S be sum of numbers between 100 and 200.
S=200×2012−100×1012 {Using the formula sum of series 1,2,3,...,n is n(n+1)2}
⇒S=15050
Let s be sum of numbers between 100 and 200 which are divisible by 5.
s=202(2×105+(20−1)×5)=3050
The required sum =S−s=15050−3050=12000