Solveeit Logo

Question

Question: The sum of the integers from 1 to 100 that are divisible by 2 or 5 is (a) 3000 (b) 3050 (c) ...

The sum of the integers from 1 to 100 that are divisible by 2 or 5 is
(a) 3000
(b) 3050
(c) 4050
(d) None of these

Explanation

Solution

Here, we will write the series of the integers divisible by 2, divisible by 5, and divisible by 10. These series form arithmetic progressions. We will use the formula for nth{n^{{\rm{th}}}} term of an A.P. and formula for sum of terms of an A.P. to find the sum of the three A.P. Finally, we will use these sums to find the sum of the integers from 1 to 100 that are divisible by 2 or 5.

Formula Used:
We will use the following formulas:
The nth{n^{{\rm{th}}}} term of an A.P. is given by the formula an=a+(n1)d{a_n} = a + \left( {n - 1} \right)d, where aa is the first term of the A.P. and dd is the common difference.
The sum of nn terms of an A.P. is given by the formula Sn=n2[a+l]{S_n} = \dfrac{n}{2}\left[ {a + l} \right], where aa is the first term of the A.P. and ll is the last term of the A.P.

Complete step-by-step answer:
The integers divisible by 2 or 5 include the integers divisible by either 2, or 5, or both 2 and 5.
The integers from 1 to 100 that are divisible by 2 are 2, 4, 6, 8, 10, …, 96, 98, 100.
We can observe that the series 2, 4, 6, 8, 10, …, 96, 98, 100 is an arithmetic progression with first term 2 and common difference 42=24 - 2 = 2.
We will find the sum of all the numbers from 1 to 100 that are divisible by 2 using the A.P.
First, we will find the number of terms of the A.P.
We can observe that the first term of the A.P. is 2, and the last term of the A.P. is 100.
Substituting an=100{a_n} = 100, a=2a = 2, and d=2d = 2 in the formula for nth{n^{{\rm{th}}}} term of an A.P., an=a+(n1)d{a_n} = a + \left( {n - 1} \right)d, we get
100=2+(n1)2\Rightarrow 100 = 2 + \left( {n - 1} \right)2
Subtracting 2 from both sides , we get
1002=2+(n1)22 98=(n1)2\begin{array}{l} \Rightarrow 100 - 2 = 2 + \left( {n - 1} \right)2 - 2\\\ \Rightarrow 98 = \left( {n - 1} \right)2\end{array}
Dividing both sides by 2, we get
982=(n1)22 49=n1\begin{array}{l} \Rightarrow \dfrac{{98}}{2} = \dfrac{{\left( {n - 1} \right)2}}{2}\\\ \Rightarrow 49 = n - 1\end{array}
Adding 1 to both sides, we get
49+1=n1+1 50=n\begin{array}{l} \Rightarrow 49 + 1 = n - 1 + 1\\\ \Rightarrow 50 = n\end{array}
\therefore The number of terms in the A.P. 2, 4, 6, 8, 10, …, 96, 98, 100 is 1001.
Now, we will find the sum of all terms in the A.P. 2, 4, 6, 8, 10, …, 96, 98, 100.
Let S1{S_1} be the sum of all terms in the A.P. 2, 4, 6, 8, 10, …, 96, 98, 100.
Substituting n=50n = 50, a=2a = 2, and l=100l = 100 in the formula for sum of nn terms of an A.P., Sn=n2[a+l]{S_n} = \dfrac{n}{2}\left[ {a + l} \right], we get
S1=502[2+100]\Rightarrow {S_1} = \dfrac{{50}}{2}\left[ {2 + 100} \right]
Simplifying the expression, we get
S1=502[102] S1=25×102 S1=2550\begin{array}{l} \Rightarrow {S_1} = \dfrac{{50}}{2}\left[ {102} \right]\\\ \Rightarrow {S_1} = 25 \times 102\\\ \Rightarrow {S_1} = 2550\end{array}
Now, the integers from 1 to 100 that are divisible by 5 are 5, 10, 15, …, 95, 100.
We can observe that the series 5, 10, 15, …, 95, 100 is an arithmetic progression with first term 5 and common difference 105=510 - 5 = 5.
We will find the sum of all the numbers from 1 to 100 that are divisible by 5 using the A.P.
First, we will find the number of terms of the A.P.
We can observe that the first term of the A.P. is 5, and the last term of the A.P. is 100.
Substituting an=100{a_n} = 100, a=5a = 5, and d=5d = 5 in the formula for nth{n^{{\rm{th}}}} term of an A.P., we get
100=5+(n1)5\Rightarrow 100 = 5 + \left( {n - 1} \right)5
Subtracting 5 from both sides of the equation, we get
1005=5+(n1)55 95=(n1)5\begin{array}{l} \Rightarrow 100 - 5 = 5 + \left( {n - 1} \right)5 - 5\\\ \Rightarrow 95 = \left( {n - 1} \right)5\end{array}
Dividing both sides of the equation by 5, we get
955=(n1)55 19=n1\begin{array}{l} \Rightarrow \dfrac{{95}}{5} = \dfrac{{\left( {n - 1} \right)5}}{5}\\\ \Rightarrow 19 = n - 1\end{array}
Adding 1 to both sides of the equation, we get
19+1=n1+1 20=n\begin{array}{l} \Rightarrow 19 + 1 = n - 1 + 1\\\ \Rightarrow 20 = n\end{array}
Therefore, the number of terms in the A.P. 5, 10, 15, …, 95, 100 is 20.
Now, we will find the sum of all terms in the A.P. 5, 10, 15, …, 95, 100.
Let S2{S_2} be the sum of all terms in the A.P. 5 are 5, 10, 15, …, 95, 100.
Substituting n=20n = 20, a=5a = 5, and l=100l = 100 in the formula for sum of nn terms of an A.P., Sn=n2[a+l]{S_n} = \dfrac{n}{2}\left[ {a + l} \right], we get
S2=202[5+100]\Rightarrow {S_2} = \dfrac{{20}}{2}\left[ {5 + 100} \right]
Simplifying the expression, we get
S2=10[105] S2=1050\begin{array}{l} \Rightarrow {S_2} = 10\left[ {105} \right]\\\ \Rightarrow {S_2} = 1050\end{array}
Now, we will find the integers divisible by both 2 and 5.
The integers divisible by both 2 and 5 are the numbers divisible by 10.
The integers from 1 to 100 that are divisible by 10 are 10, 20, …, 90, 100.
We can observe that the series 10, 20, …, 90, 100 is an arithmetic progression with first term 10 and common difference 2010=1020 - 10 = 10.
We will find the sum of all the numbers from 1 to 100 that are divisible by 10 using the A.P.
First, we will find the number of terms of the A.P.
We can observe that the first term of the A.P. is 10, and the last term of the A.P. is 100.
Substituting an=100{a_n} = 100, a=10a = 10, and d=10d = 10 in the formula for nth{n^{{\rm{th}}}} term of an A.P., we get
100=10+(n1)10\Rightarrow 100 = 10 + \left( {n - 1} \right)10
Subtracting 10 from both sides of the equation, we get
10010=10+(n1)1010 90=(n1)10\begin{array}{l} \Rightarrow 100 - 10 = 10 + \left( {n - 1} \right)10 - 10\\\ \Rightarrow 90 = \left( {n - 1} \right)10\end{array}
Dividing both sides of the equation by 10, we get
9010=(n1)1010 9=n1\begin{array}{l} \Rightarrow \dfrac{{90}}{{10}} = \dfrac{{\left( {n - 1} \right)10}}{{10}}\\\ \Rightarrow 9 = n - 1\end{array}
Adding 1 to both sides of the equation, we get
9+1=n1+1 10=n\begin{array}{l} \Rightarrow 9 + 1 = n - 1 + 1\\\ \Rightarrow 10 = n\end{array}
Therefore, the number of terms in the A.P. 10, 20, …, 90, 100 is 10.
Now, we will find the sum of all terms in the A.P. 10, 20, …, 90, 100.
Let S3{S_3} be the sum of all terms in the A.P. 10, 20, …, 90, 100.
Substituting n=10n = 10, a=10a = 10, and l=100l = 100 in the formula for sum of nn terms of an A.P., we get
S3=102[10+100]\Rightarrow {S_3} = \dfrac{{10}}{2}\left[ {10 + 100} \right]
Simplifying the expression, we get
S3=5[110] S3=550\begin{array}{l} \Rightarrow {S_3} = 5\left[ {110} \right]\\\ \Rightarrow {S_3} = 550\end{array}
Now, we will find the sum of all integers from 1 to 100 that are divisible by 2 or 5.
We can observe that the sum of the integers that are divisible by 10 are already included in the sum of the integers divisible by 2, and the sum of integers divisible by 5.
Thus, if we add S1{S_1} and S2{S_2}, the sum of integers divisible by 10 would be included twice.
We will subtract the sum of integers divisible by 10 once to get the correct answer.
Therefore, we get
Sum of all integers from 1 to 100 that are divisible by 2 or 5 =S1+S2S3 = {S_1} + {S_2} - {S_3}
Substituting S1=2550{S_1} = 2550, S2=1050{S_2} = 1050, and S3=550{S_3} = 550 in the expression, we get
Sum of all integers from 1 to 100 that are divisible by 2 or 5 =2550+1050550 = 2550 + 1050 - 550
Simplifying the expression, we get
Sum of all integers from 1 to 100 that are divisible by 2 or 5 =3050 = 3050
Therefore, we get the sum of all integers from 1 to 100 that are divisible by 2 or 5 as 3050.
Thus, the correct option is option (b).

Note: Here, we need to understand why the sum of integers divisible by 2 and 5 is deducted. A common mistake is to add the sum of integers divisible by 2 or 5, that is 550. This results in the answer 4050, which is incorrect. We can also find the sum using the common difference of the A.P. using the formula Sn=n2[2a+(n1)d]{S_n} = \dfrac{n}{2}\left[ {2a + \left( {n - 1} \right)d} \right], where aa is the first term of the A.P., dd is the common difference of the A.P. and nn is the number of terms of the A.P.