What is the sum of all integers between 1 and 100 that cannot be divisible by 3?

What is the sum of all integers between 1 and 100 that cannot be divisible by 3?

The idea is: subtract the sum of the numbers that can be divided by three from the sum of 1 to 100,
1+2+3+…… 100=(1+100)*100/2=5050,
3+6+9+12+…… 99=3*(1+2+3+…… 33)=3*(1+33)*33/2=1683,
5050-1683=3367.