Mathematics (JEE)Very hardGATE CS
In how many ways can the 7 distinct balls 1, 2, ..., 7 be placed into 4 identical boxes so that no box is empty?
- A. 301
- B. 840
- C. 1050
- D. 350
Correct answer: D. 350
Identical non-empty boxes correspond to set partitions into 4 blocks, counted by S(7,4) = 350 (from S(n,k) = k*S(n-1,k) + S(n-1,k-1)).
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many partitions of {1, 2, 3, 4, 5} have no block of size 1?
- How many partitions of {1, 2, 3, 4, 5, 6} into exactly 3 unordered blocks have 1 and 6 in the same block?
- How many permutations p of {1, 2, 3, 4, 5, 6} satisfy p(i) <= i + 1 for every i?
- How many permutations p of {1, 2, 3, 4, 5, 6} satisfy p(i) >= i - 2 for every i?
- How many 3-element subsets of {1, 2, ..., 10} have an element sum divisible by 10?
- How many 3-element subsets of {1, 2, ..., 12} have every two elements differing by at least 3?