366 numbers between 1 and 500 are divisible by 2, 3, or 5.
We can check this with the following code:
6.5m questions
8.5m answers