Problem: The number of positive integers less than 1000 divisible by neither 5 nor 7, is:
Answer Choices:
A. 688
B. 686
C. 684
D. 658
E. 630
Solution:
The required number a is 999βN1β(5)βN2β(7)+N3β(35) where N1β(5) is the number of multiples of 5 , namely 199, N1β(7) is the number of multiples of 7 , namely 142 , and N1β(35) is the number of multiples of 35 , namely 28. β΄n=999β199β142+28=686