Finding the number of divisible integers in the range $[1, 1000]$.

I will present a solution which is entirely made up of a series of completely logical statements.

How many numbers between 1 and 1000 are divisible by 11, well 90 because 90 * 11 = 990 which is the largest multiple of 11 that is less than 1000.

So how many of these numbers are divisible by 3? well every 3rd number within the set of numbers that are divisible by 11 therefore there are 90/3 = 30

So there are 30 numbers that are divisible by 11 and 3.

Out of these numbers how many are divisible by 9? Since 3*3=9, every 3rd multiple in the set of numbers that are divisible by 3 and 11 are divisible by 9.

30/3 = 10

Therefore 10 numbers within the set of 30 numbers are divisible by 9.

30-10 = 20

Which is exactly your answer and your method of solving and with this you are correct.

I hope this was helpful.