17 + 11 = 28 numbers not allowed
But some numbers (like 105 and 150) are in both lists! They are multiples of 3 and 5 ie multiples of 15
105, 120, 135, 150 are counted twice
28-4 = 24 numbers not allowed
Out of 51 houses altogether
51-24 = 27 houses allowed.
Counting the multiples
There are 51 houses numbered from 100 to 150 inclusive. Of these, 17 are multiples of 3, eleven are multiples of 5 and four are multiples of both 3 and 5. So the number of houses Charlie can choose from is 51-(17+11-4) = 27.