Solveeit Logo

Question

Question: The sum of integers from 1 to 100 that are divisible by 2 or 5 is....

The sum of integers from 1 to 100 that are divisible by 2 or 5 is.

A

3000

B

3050

C

4050

D

None of these

Answer

3050

Explanation

Solution

The sum of integers from 1 to 100 that are divisible by 2 or 5 = sum of series divisible by 2 + sum of series divisible by 5 – sum of series divisible by 2 and 5.

(10+20+30++100)- ( 10 + 20 + 30 + \ldots \ldots \ldots + 100 )

=502{2×2+(501)2}+202{2×5+(201)5}= \frac { 50 } { 2 } \{ 2 \times 2 + ( 50 - 1 ) 2 \} + \frac { 20 } { 2 } \{ 2 \times 5 + ( 20 - 1 ) 5 \}

102{10×2+(101)10}- \frac { 10 } { 2 } \{ 10 \times 2 + ( 10 - 1 ) 10 \} =2550+1050550=3050= 2550 + 1050 - 550 = 3050.