Question
Question: Find the sum of all natural numbers lying between \(100\) and \(200\) which leave a remainder of \(2...
Find the sum of all natural numbers lying between 100 and 200 which leave a remainder of 2 when divided by 5 in each case.
Solution
We will calculate the nearest value to 100 which leaves remainder 2 when divided by 5 in each case and also the number nearest to 200 which leaves remainder 2 when divided by 5 in each case. From both this values we can write a series of numbers which leaves remainder 2 when divided by 5 in each case by taking the lowest term as the first term of A.P and highest term as last term of A.P and common difference 5. Now we have an A.P of numbers which leave a remainder of 2 when divided by 5 in each case. To find the sum of the numbers we will use the formula for sum of n numbers of A.P i.e. Sn=2n[2a+(n−1)d].
Complete step-by-step answer:
The remainder when we divide 100 with 5 is zero. But we need remainder as 2, so we will add 2 to the 100, then we will get 100+2=102. So 102 is the first number which leave a remainder of 2 when divided by 5 after the number 100. So, we can take it as first term of A.P ⇒a=102.
The remainder when we divide 200 with 5 is zero. But we need remainder as 2, so we will subtract 5−2=3 from 200, then we will get 200−3=197. So 197 is the last number which leave a remainder of 2 when divided by 5 before the number 200. So, we can take it as last term of A.P ⇒an=197.
In A.P we have the formula for the nth term as an=a+(n−1)d
We have an=197, a=102, d=5 , now the value of n is given by
an=a+(n−1)d⇒197=102+(n−1)5⇒197−102=(n−1)5⇒95=(n−1)5⇒n−1=19⇒n=20
Now the sum of the terms in A.P is given by
Sn=2n[2a+(n−1)d]⇒Sn=220[2×102+(20−1)5]⇒Sn=10(204+95)⇒Sn=2990
Hence the required sum of the numbers is 2990.
Note: We can also find the number terms 100 and 200 which leave a remainder of 2 when divided by 5 in each case by subtracting the number of terms which leave a remainder of 2 when divided by 5 from 0 to 100 from the number of terms which leave a remainder of 2 when divided by 5 from 0 to 200. Mathematically,
n=5200−5100⇒n=40−20⇒n=20
From both the methods we got the same result.