Mathematics (JEE)HardCAT · MBA placement
In how many ways can 8 identical candies be given to 3 children so that each child gets at least 1 and at most 4 candies?
- A. 12
- B. 15
- C. 18
- D. 21
Correct answer: A. 12
Enumerating the triples of values from 1 to 4 with sum 8 gives 12. Option 21 is the count of solutions with the upper bound ignored.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many functions from {1, 2, 3, 4} to {1, 2, 3} are onto and satisfy f(1) ≠ f(2)?
- How many compositions (ordered sums) of 5 into exactly 2 positive parts are there?
- A set of 5 distinct elements is split into 2 non-empty blocks, each block containing at least 2 elements. How many such splits are there?
- How many surjective functions are there from {1, 2, 3, 4, 5} onto {1, 2}?
- Two fair dice are rolled. Given that the first die shows an odd number, what is the probability that the sum is 7?
- A 4-digit PIN is chosen with each digit independently and uniformly from 0 to 9. What is the probability that every digit of the PIN is…