Review question

What is the sum of the multiples of 5 or 8 but not both? Add to your resource collection Remove from your resource collection Add notes to this resource View your notes for this resource

Ref: R8249

Question

Considering only the integers from $1$ to $1000$ inclusive, find the sum of those integers which are either multiples of $5$ (i.e., $5$, $10$, $15$, …) or multiples of $8$ (i.e., $8$, $16$, $24$, …) but are not multiples of both $5$ and $8$.