# Find the sum of all the integers between 1 and 1000 which are divisible by 7

How can I work this one out (with workings)?

"Find the sum of all the integers between 1 and 1000 which are divisible by 7"

Thanks!

$7 \lfloor \dfrac{1000}{7} \rfloor=994$
$7+14+...+994=7(1+2+...\dfrac{994}{7})=7(1+2+...142)=7 \dfrac{(142)(143)}{2}=71071$
Hint: $7\cdot(1+2+\ldots+\lfloor \frac{1000}{7}\rfloor)=?$.
Hint: What is the largest multiple of $7$ less than $1000?$ Do you know how to sum $1+2+3+\dots$ up to $n?$ Distribute out the $7$