Find the sum of integers from $1$ to $100$ that are divisible by $2$ or $5.$

Vedclass pdf generator app on play store
Vedclass iOS app on app store

The integers from $1$ to $100,$ which are divisible by $2,$ are $2,4,6 \ldots \ldots 100$

This forms an $A.P.$ with both the first term and common difference equal to $2.$

$\Rightarrow 100=2+(n-1) 2$

$\Rightarrow n=50$

$\therefore 2+4+6+\ldots \ldots+100=\frac{50}{2}[2(2)+(50-1)(2)]$

$=\frac{50}{2}[4+98]$

$=(25)(102)$

$=2550$

The integers from $1$ to $100 ,$ which are divisible by $5,10 \ldots . .100$

This forms an $A.P.$ with both the first term and common difference equal to $5 .$

$\therefore 100=5+(n-1) 5$

$\Rightarrow 5 n=100$

$\Rightarrow n=20$

$\therefore 5+10+\ldots .+100=\frac{20}{2}[2(5)+(20-1) 5]$

$=10[10+(19) 5]$

$=10[10+95]=10 \times 105$

$=1050$

The integers, which are divisible by both $2$ and $5,$ are $10,20, \ldots \ldots 100$

This also forms an $A.P.$ with both the first term and common difference equal to $10.$

$\therefore 100=10+(n-1)(10)$

$\Rightarrow 100=10 n$

$\Rightarrow n=10$

$\therefore 10+20+\ldots .+100=\frac{10}{2}[2(10)+(10-1)(10)]$

$=5[20+90]=5(110)=550$

$\therefore$ Required sum $=2550+1050-550=3050$

Thus, the sum of the integers from $1$ to $100,$ which are divisible by $2$ or $5,$ is $3050$

Similar Questions

If the first term of an $A.P. $ be $10$, last term is $50$ and the sum of all the terms is $300$, then the number of terms are

Given sum of the first $n$ terms of an $A.P.$ is $2n + 3n^2.$ Another $A.P.$ is formed with the same first term and double of the common difference, the sum of $n$ terms of the new $A.P.$ is

  • [JEE MAIN 2013]

Which term of the sequence $( - 8 + 18i),\,( - 6 + 15i),$ $( - 4 + 12i)$ $,......$ is purely imaginary

Let $X$ be the set consisting of the first $2018$ terms of the arithmetic progression $1,6,11$,

. . . .and $Y$ be set consisting of the first $2018$ terms of the arithmetic progression $9, 16, 23$,. . . . . Then, the number of elements in the set $X \cup Y$ is. . . . 

  • [IIT 2018]

If the sum of a certain number of terms of the $A.P.$ $25,22,19, \ldots \ldots .$ is $116$ Find the last term