Mathematics (JEE)Hard
How many integers from 1 to 999 are divisible by 3 or by 7?
- A. 475
- B. 429
- C. 428
- D. 427
Correct answer: C. 428
Inclusion–exclusion: ⌊999/3⌋ + ⌊999/7⌋ − ⌊999/21⌋ = 333 + 142 − 47 = 428. The enumerated value 428 is the answer, and adding the two counts without subtracting the overlap gives 475.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many ordered triples of positive odd integers (a, b, c) satisfy a + b + c = 30?
- How many five-digit numbers have all their digits odd and no digit repeated?
- Eight distinct people are to be split into two disjoint unordered pairs (the other four people are left out). How many ways are there to…
- A and B take turns rolling a fair die, with A rolling first. The first player to roll an even number wins. What is the probability that A…
- A fair coin is tossed repeatedly. Player A wins if two heads appear before the first tail. What is the probability that A wins?
- In the dice game of craps, a player rolls two fair dice. On the first roll a total of 7 or 11 wins at once, and a total of 2, 3 or 12…