terms of what? If you just mean the first 1001 integers, then
find how many multiples of 7 there are. Say, n of them
Then you want
1001*1002/2 - 7n
Find the sum of the first 1001 terms excluding all multiples of 7
1 answer