Find the sum of all natural numbers between 1 and 100, which are divisible by 2 or 5.
Answer
383.4k+ views
Hint- Here, the formulas of ${n^{{\text{th}}}}$ term of an AP and sum of first $n$ terms of an AP will be used.
The natural numbers which are divisible by 2 are 2, 4, 6, 8, ……, 98, 100.
Clearly, the above series is an arithmetic progression with a common difference of 2.
The natural numbers which are divisible by 5 are 5, 10, 15, 20, ……, 95, 100.
Clearly, the above series is an arithmetic progression with a common difference of 5.
For an arithmetic progression consisting of first term as $a$, common difference as $d$ and total number of terms as $n$
Last term or ${n^{{\text{th}}}}$ term of the AP is given by ${a_n} = a + \left( {n - 1} \right)d{\text{ }} \to {\text{(1)}}$
Sum of first $n$ terms of the AP is given by ${{\text{S}}_n} = \dfrac{n}{2}\left[ {a + {a_n}} \right]{\text{ }} \to {\text{(2)}}$.
Now, for the arithmetic progression 2, 4, 6, 8, ……, 98, 100
$a = 2$, $d = 2$ and ${a_n} = 100$
Using equation (1), we can write
$ \Rightarrow 100 = 2 + 2\left( {n - 1} \right) \Rightarrow 100 = 2 + 2\left( {n - 1} \right) \Rightarrow 100 = 2 + 2n - 2 \Rightarrow 2n = 100 \Rightarrow n = 50$
So, the total number of natural numbers between 1 and 100 that are divisible by 2 are 50.
Now using equation (2), we have
${{\text{S}}_n} = \dfrac{{50}}{2}\left[ {2 + 100} \right] = \dfrac{{50 \times 102}}{2} = 2550$
So, the sum of all the natural numbers between 1 and 100 that are divisible by 2 is 2550.
Now, for the arithmetic progression 5, 10, 15, 20, ……, 95, 100
$a = 5$, $d = 5$ and ${a_n} = 100$
Using equation (1), we can write
$ \Rightarrow 100 = 2 + 2\left( {n - 1} \right) \Rightarrow 100 = 5 + 5\left( {n - 1} \right) \Rightarrow 100 = 5 + 5n - 5 \Rightarrow 5n = 100 \Rightarrow n = 20$
So, the total number of natural numbers between 1 and 100 that are divisible by 5 are 20.
Now using equation (2), we have
${{\text{S}}_n} = \dfrac{{20}}{2}\left[ {5 + 100} \right] = \dfrac{{20 \times 105}}{2} = 1050$
So, the sum of all the natural numbers between 1 and 100 that are divisible by 5 is 1050.
Also, natural numbers between 1 and 100 that are divisible by both 2 and 5 are 10, 20, 30, ……, 100
The above series also forms arithmetic progression with a common difference of 10.
Here, $a = 10$, $d = 10$ and ${a_n} = 100$
Using equation (1), we can write
$ \Rightarrow 100 = 10 + 10\left( {n - 1} \right) \Rightarrow 90 = 10n - 10 \Rightarrow 10n = 100 \Rightarrow n = 10$
So, the total number of natural numbers between 1 and 100 that are divisible by both 2 and 5 are 10.
Now using equation (2), we have
${{\text{S}}_n} = \dfrac{{10}}{2}\left[ {10 + 100} \right] = \dfrac{{10 \times 110}}{2} = 550$
So, the sum of all the natural numbers between 1 and 100 that are divisible by both 2 and 5 is 550.
Since, the sum of all the natural numbers between 1 and 100 that are divisible by 2 or 5 is equal to the sum of all the natural numbers between 1 and 100 that are divisible by 2 and those that are divisible by 5 minus the number of natural numbers between 1 and 100 that are divisible by both 2 and 5.
i.e., ${\text{Required Sum}} = \left( {2550 + 1050} \right) - 550 = 3050$.
Therefore, the sum of all natural numbers between 1 and 100, which are divisible by 2 or 5 is 3050.
Note- In this particular problem, the sum of numbers between 1 and 100 that are divisible by 2 and those that are divisible by 5 will include the numbers that are divisible by both 2 and 5 twice. So in order to find the accurate result we will once subtract the sum of all the numbers between 1 and 100 that are divisible by both 2 and 5.
The natural numbers which are divisible by 2 are 2, 4, 6, 8, ……, 98, 100.
Clearly, the above series is an arithmetic progression with a common difference of 2.
The natural numbers which are divisible by 5 are 5, 10, 15, 20, ……, 95, 100.
Clearly, the above series is an arithmetic progression with a common difference of 5.
For an arithmetic progression consisting of first term as $a$, common difference as $d$ and total number of terms as $n$
Last term or ${n^{{\text{th}}}}$ term of the AP is given by ${a_n} = a + \left( {n - 1} \right)d{\text{ }} \to {\text{(1)}}$
Sum of first $n$ terms of the AP is given by ${{\text{S}}_n} = \dfrac{n}{2}\left[ {a + {a_n}} \right]{\text{ }} \to {\text{(2)}}$.
Now, for the arithmetic progression 2, 4, 6, 8, ……, 98, 100
$a = 2$, $d = 2$ and ${a_n} = 100$
Using equation (1), we can write
$ \Rightarrow 100 = 2 + 2\left( {n - 1} \right) \Rightarrow 100 = 2 + 2\left( {n - 1} \right) \Rightarrow 100 = 2 + 2n - 2 \Rightarrow 2n = 100 \Rightarrow n = 50$
So, the total number of natural numbers between 1 and 100 that are divisible by 2 are 50.
Now using equation (2), we have
${{\text{S}}_n} = \dfrac{{50}}{2}\left[ {2 + 100} \right] = \dfrac{{50 \times 102}}{2} = 2550$
So, the sum of all the natural numbers between 1 and 100 that are divisible by 2 is 2550.
Now, for the arithmetic progression 5, 10, 15, 20, ……, 95, 100
$a = 5$, $d = 5$ and ${a_n} = 100$
Using equation (1), we can write
$ \Rightarrow 100 = 2 + 2\left( {n - 1} \right) \Rightarrow 100 = 5 + 5\left( {n - 1} \right) \Rightarrow 100 = 5 + 5n - 5 \Rightarrow 5n = 100 \Rightarrow n = 20$
So, the total number of natural numbers between 1 and 100 that are divisible by 5 are 20.
Now using equation (2), we have
${{\text{S}}_n} = \dfrac{{20}}{2}\left[ {5 + 100} \right] = \dfrac{{20 \times 105}}{2} = 1050$
So, the sum of all the natural numbers between 1 and 100 that are divisible by 5 is 1050.
Also, natural numbers between 1 and 100 that are divisible by both 2 and 5 are 10, 20, 30, ……, 100
The above series also forms arithmetic progression with a common difference of 10.
Here, $a = 10$, $d = 10$ and ${a_n} = 100$
Using equation (1), we can write
$ \Rightarrow 100 = 10 + 10\left( {n - 1} \right) \Rightarrow 90 = 10n - 10 \Rightarrow 10n = 100 \Rightarrow n = 10$
So, the total number of natural numbers between 1 and 100 that are divisible by both 2 and 5 are 10.
Now using equation (2), we have
${{\text{S}}_n} = \dfrac{{10}}{2}\left[ {10 + 100} \right] = \dfrac{{10 \times 110}}{2} = 550$
So, the sum of all the natural numbers between 1 and 100 that are divisible by both 2 and 5 is 550.
Since, the sum of all the natural numbers between 1 and 100 that are divisible by 2 or 5 is equal to the sum of all the natural numbers between 1 and 100 that are divisible by 2 and those that are divisible by 5 minus the number of natural numbers between 1 and 100 that are divisible by both 2 and 5.
i.e., ${\text{Required Sum}} = \left( {2550 + 1050} \right) - 550 = 3050$.
Therefore, the sum of all natural numbers between 1 and 100, which are divisible by 2 or 5 is 3050.
Note- In this particular problem, the sum of numbers between 1 and 100 that are divisible by 2 and those that are divisible by 5 will include the numbers that are divisible by both 2 and 5 twice. So in order to find the accurate result we will once subtract the sum of all the numbers between 1 and 100 that are divisible by both 2 and 5.
Recently Updated Pages
Define absolute refractive index of a medium

Find out what do the algal bloom and redtides sign class 10 biology CBSE

Prove that the function fleft x right xn is continuous class 12 maths CBSE

Find the values of other five trigonometric functions class 10 maths CBSE

Find the values of other five trigonometric ratios class 10 maths CBSE

Find the values of other five trigonometric functions class 10 maths CBSE

Trending doubts
State Gay Lusaaccs law of gaseous volume class 11 chemistry CBSE

Fill the blanks with the suitable prepositions 1 The class 9 english CBSE

What is BLO What is the full form of BLO class 8 social science CBSE

What is pollution? How many types of pollution? Define it

Change the following sentences into negative and interrogative class 10 english CBSE

Which is the tallest animal on the earth A Giraffes class 9 social science CBSE

Give 10 examples for herbs , shrubs , climbers , creepers

How fast is 60 miles per hour in kilometres per ho class 10 maths CBSE

Difference between Prokaryotic cell and Eukaryotic class 11 biology CBSE
