What is the sum of all the numbers from 1 to 100 that cannot be divisible by 5 or 9?

What is the sum of all the numbers from 1 to 100 that cannot be divisible by 5 or 9?

The sum is: 1 + 2 + +100 = 5050, the sum of the numbers divided by 5 is 5 × (1 + 2 +...) +20) The sum of the numbers divided by 9 is: 9 × (1 + 2 +...) 11) The sum of the numbers divisible by 45 is: 45 + 90 = 135, so the sum of all the numbers from 1 to 100 that cannot be divisible by 5 and 9 is: 5050-1050-594 + 135 = 3541; a: the sum of all the numbers from 1 to 100 that cannot be divisible by 5 or 9 is 3541