Mathematics (JEE)ModerateGATE CS
How many ordered 3-part compositions of 10 (ordered triples of positive integers with sum 10) are there?
- A. 45
- B. 28
- C. 21
- D. 36
Correct answer: D. 36
Stars and bars: C(10 − 1, 3 − 1) = C(9,2) = 36. Option 45 is C(10,2), which allows zero parts.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many partitions of 7 have at most 3 parts?
- How many ways are there to partition a set of 7 distinct elements into exactly 3 non-empty unordered blocks?
- How many non-negative integer solutions are there to x + y + z + w = 10 with each variable at most 4?
- In how many ways can 6 identical books be placed on 4 distinct shelves so that no shelf holds more than 3 books?
- A group of 3 students is chosen from 10 students. Two particular students are A and B. How many choices include at least one of A and B?
- A binary string of length 6 is chosen uniformly at random. What is the probability that no two adjacent digits are equal?