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