Question
Question: Find the sum of all natural numbers not exceeding 1000 which are divisible by 4 but not by 8. A. ...
Find the sum of all natural numbers not exceeding 1000 which are divisible by 4 but not by 8.
A. 62500
B. 62800
C. 64000
D. 65600
Solution
We will find the required sum by first separately calculating the sum of all natural numbers till 1000 divisible by 4 and that divisible by 8. The sum of all numbers divisible by 4 will also contain the sum of all numbers divisible by 8. Hence, the required sum will come out as the difference of the before mentioned two sums. We will find those sums by forming two separate APs and using the formula for the sum of an AP given by S=2n(2a+(n−1)d). Then finding the difference, we will find the required sum.
Complete step by step answer:
Here, we have to find the sum of all natural numbers not exceeding 1000 which are divisible by 4 but not by 8.
For this, we will first separately find the sum of all natural numbers till 1000 divisible by 4 and that divisible by 8.
Now, the first natural number divisible by 4 is 4 itself. Till 1000, the last number divisible by 4 is 1000. Now every successive number divisible by 4 has a difference of 4 from the previous number. thus, if we form it as an AP, we can see that:
a=4
d=4
an=1000
Where, a is the first term, d is the common difference and an is the nth term.
Now, we know that in an AP:
an=a+(n−1)d
Putting the required values in this formula, we get:
an=a+(n−1)d⇒1000=4+(n−1)4⇒996=(n−1)4⇒n−1=4996=249⇒n=250
Hence, there are a total of 250 terms.
Now, we know that the sum on ‘n’ terms of an AP is given as:
S=2n(2a+(n−1)d)
Hence, the sum of all natural numbers not exceeding 1000 and divisible by 4 is given as:
S1=2250(2(4)+(250−1)4)⇒S1=2250(8+1000−4)⇒S1=2250(1004)⇒S1=125500
Thus, the sum of all terms divisible by 4 until 1000 is 125500.
Now, when we see the numbers divisible by 8, we know that the first natural number divisible by 8 is 8 and the last number not exceeding 1000 divisible by 8 is 1000. We also know that in there is a difference of 8 between every consequent term in the numbers divisible by 8.
Hence, if we form it as an AP, we will get:
a=8
d=8
an=1000
Now, we know that in an AP:
an=a+(n−1)d
Thus, putting in the required values in this formula we get:
an=a+(n−1)d⇒1000=8+(n−1)8⇒992=(n−1)8⇒n−1=8992=124⇒n=125
Hence, there are a total of 125 terms.
Now, the sum of all the terms is given as:
S2=2n(2a+(n−1)d)⇒S2=2125(2(8)+(125−1)8)⇒S2=2125(16+1000−8)⇒S2=2125(1008)⇒S2=63000
Thus, the sum of all terms divisible by 8 until 1000 is 63000.
Now, the sum of all natural numbers divisible by 4 till 1000 but not by 8 will be the difference of the sum of all numbers divisible by 4 and that by 8.
Hence, the required sum is given as: