Question: how many numbers between 1 and 1000 are not divisible by 3 5 or 7?
Answer: So numbers which are not divisible by 3,5 and 7 are 1000–543=457.