Solution:
We all know that,
Multiple of 2 + Multiple of 5 – LCM Multiple (2, 5) = Multiples of 2 or 5
Multiple of 2 + Multiple of 5 – Multiple of LCM (10) = Multiples of 2 or 5
List of multiple of 2 from 1 to 500 + List of multiple of 5 from 1 to 500 – List of multiple of 10 from 1 to 500 = Multiples of 2 or 5 from 1 to 500
Required sum
Now consider the first series,
2, 4, 6, …., 500
The first term, a = 2
The common difference, d = 2
Let no of terms be n
Sum of an AP,
Let S1 be ,the sum of this AP
… (1)
Now consider the second series,
5, 10, 15, …., 500
The first term, a = 5
The common difference, d = 5
Let no of terms be n
Using the nth term formula
Sum of an AP,
Let S2, be the sum of this AP
… (2)
Now consider the third series,
10, 20, 30, …., 500
The first term, a = 10
The common difference, d = 10
Let no of terms be n
Sum of an AP,
Let S3, be the sum of this AP
… (3)
As a result, the required Sum,
S