Find the sum of all natural numbers that are divisible by 3 but not multiples of 5 within 1000?

Find the sum of all natural numbers that are divisible by 3 but not multiples of 5 within 1000?

The sum of all multiples of 3: 3 + 6 + 9 + 12 + 15 +... + 999 = (3 + 999) * 333 / 2 = 166833
Sum of all multiples of 15: 15 + 30 + 45 + 60 + 75 +... + 990 = (15 + 990) * 66 / 2 = 33165
So: 166833-33165 = 133668