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\).