Placement AptitudeHardTCS Digital · Infosys SP · CAT
In how many ways can 4 numbers be chosen from 1, 2, …, 20 so that no two of them are consecutive?
- A. 1820
- B. 3060
- C. 2380
- D. 4845
Correct answer: C. 2380
Map chosen numbers a < b < c < d to a, b - 1, c - 2, d - 3, which are any 4 distinct numbers from 1 to 17. So the count is C(17,4) = 2380.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- On a 5 × 5 chessboard (a grid of 25 unit squares), how many rectangles with sides along the grid lines are not squares?
- A sequence of 6 steps of +1 and 6 steps of -1 is chosen at random from all arrangements. What is the probability that the running total…
- A fair six-sided die is rolled repeatedly until every face has appeared at least once. What is the expected number of rolls?
- Two cards are dealt from a well-shuffled 52-card deck, and you are told at least one of them is an ace. What is the probability that both…
- In how many ways can 3 boys and 3 girls stand in a row so that no two girls are adjacent?
- How many functions from a 6-element set onto (surjective to) a 4-element set exist?