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

Let $s _1, s _2, s _3, \ldots \ldots, s _{10}$ respectively be the sum to 12 terms of 10 A.P.s whose first terms are $1,2,3, \ldots, 10$ and the common differences are $1,3,5, \ldots, 19$ respectively. Then $\sum \limits_{i=1}^{10} s _{ i }$ is equal to

  • [JEE MAIN 2023]

If $2x,\;x + 8,\;3x + 1$ are in $A.P.$, then the value of $x$ will be

If $a, b, c, d$ are in $G.P.,$ prove that $\left(a^{n}+b^{n}\right),\left(b^{n}+c^{n}\right),\left(c^{n}+d^{n}\right)$ are in $G.P.$

Let ${a_1},{a_2},\;.\;.\;.\;.,{a_{49}}$ be in $A.P.$ such that $\mathop \sum \limits_{k = 0}^{12} {a_{4k + 1}} = 416$ and ${a_9} + {a_{43}} = 66$. If $a_1^2 + a_2^2 + \ldots + a_{17}^2 = 140m,$ then $m = \;\;..\;.\;.\;.\;$

  • [JEE MAIN 2018]

If $a,\,b,\,c$ are in $A.P.$, then $(a + 2b - c)$ $(2b + c - a)$ $(c + a - b)$ equals