Question
4) $S_{4000}=\frac{4000(4000)}{2}
Original question: 4) multiples of 5 Not multiples:
Expert Verified Solution
Key concept: This problem combines two arithmetic-series sums: the sum of the first 4000 integers and the sum of the multiples of 5 up to 4000. Subtracting them gives the sum of the numbers that are not multiples of 5.
Step by step
We want the sum of all integers from 1 to 4000, then subtract the sum of the multiples of 5.
1) Sum of all numbers from 1 to 4000
Use the formula
So
2) Sum of the multiples of 5 up to 4000
The multiples of 5 are
This is an arithmetic sequence with:
- first term
- last term
- number of terms found by , so
Now use
So
3) Subtract
Answer
Pitfall alert
Do not count the multiples of 5 as 4000 terms. There are only 800 of them, because . Also, remember to use the arithmetic-series formula with the correct first and last terms.
Try different conditions
If the upper limit changes from 4000 to another number , the same method works: find for all integers, then subtract the arithmetic-series sum of the multiples of 5 up to .
Further reading
arithmetic series, sum formula, multiples of 5