14.23. How many natural numbers less than a thousand are there that are not divisible by 5 or 7?
Solution
14.23. Answer: 686 numbers. First, we will cross out from the set of numbers the numbers that are multiples of 5; their quantity is . Then, from the same set of numbers , we will cross out the numbers that are multiples of 7; their quantity is . In this process, numbers that are multiples of 35 will be crossed out twice. Their quantity is . Therefore, we have crossed out a total of numbers, and numbers remain.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.