A probability problem by Achal Jain

Find the sum of all integers between 1 to 100 inclusive that are divisible by 2 and/or 5.

3000 None of the others 1525 3050

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Chew-Seong Cheong
Aug 17, 2016

S = 2 + 4 + 5 + 6 + 8 + 10 + 12 + . . . + 94 + 95 + 96 + 98 + 100 = 2 a + 4 + 6 + . . . + 100 l n = 50 + 5 a + 15 + 25 + . . . + 95 l n = 10 = 100 ( 2 + 100 ) 2 + 10 ( 5 + 95 ) 2 Sum of AP = n ( a + l ) 2 = 2550 + 500 = 3050 \begin{aligned} S & = 2+4+5+6+8+10+12+...+94+95+96+98+100 \\ & = \underbrace{\overbrace{2}^a+4+6+...+\overbrace{100}^l}_{n = 50} + \underbrace{\overbrace{5}^a+15+25+...+\overbrace{95}^l}_{n = 10} \\ & = \frac {100(2+100)}2 + \frac {10(5+95)}2 & \small \color{#3D99F6}{\text{Sum of AP }=\frac {n(a+l)}2} \\ & = 2550 + 500 \\ & = \boxed{3050} \end{aligned}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...