In the first 100 natural numbers, how many are divisible by 2, 3 or 5

In the first 100 natural numbers, how many are divisible by 2, 3 or 5

Within 100: there are 50 numbers divisible by 2
There are 33 numbers divisible by 3
There are 20 numbers divisible by 5
To remember the total number of multiples of these three numbers, we need to remove the repeated numbers
The least common multiple of 2 and 3 is 6, so the number of multiples of 6 should be counted less once
100÷6≈16
The least common multiple of 2 and 5 is 10
100÷10=10
The least common multiple of 3 and 5 is 15
100÷15≈6
50+33+20-16-10-6+3=74