Civil Services Examination · प्रश्न 71
How many numbers from 0 to 999 are not divisible by either 5 or 7?
उत्तर देखें और व्याख्याव्याख्या देखें
उत्तर: (C) 686
Total Count: From 0 to 999 inclusive, there are 1000 integers (note that 0 is divisible by both 5 and 7). Multiples of 5, 7, and 35: Multiples of 5 = ⌊999/5⌋ + 1 = 199 + 1 = 200. Multiples of 7 = ⌊999/7⌋ + 1 = 142 + 1 = 143. Multiples of LCM(5, 7) = 35 = ⌊999/35⌋ + 1 = 28 + 1 = 29. Inclusion–Exclusion: Numbers divisible by 5 or 7 = 200 + 143 − 29 = 314 ⇒ Numbers NOT divisible by either 5 or 7 = 1000 − 314 = 686. Result: 686 numbers from 0 to 999 are not divisible by either 5 or 7. Shortcut: Out of every 5 numbers, 4 are not divisible by 5; out of every 7, 6 are not divisible by 7 ⇒ 1000 × (4/5) × (6/7) = 685.71 ⇒ 686. सही उत्तर: (c) 686
