Placement AptitudeVery hardProduct company OA · CAT level
In how many ways can 20 identical chocolates be shared among 4 children so that every child gets at least 1 and at most 8 chocolates?
- A. 969
- B. 303
- C. 321
- D. 315
Correct answer: D. 315
Give each child 1 first: now share 16 with each child getting 0 to 7 more. Without the cap: C(19, 3) = 969. Subtract the cases with some child getting ≥ 8 more: 4 × C(11, 3) = 660. Add back two children with ≥ 8 each (16 exactly): 6 × C(3, 3) = 6. Answer 969 − 660 + 6 = 315. 303 subtracts the double-overflow cases instead of adding them back; 969 ignores the upper limit.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- 8 different balls are put into 3 different boxes A, B and C so that no box is empty and box A contains an even number of balls. In how…
- In how many ways can 3 identical rooks be placed on a 6 × 6 chessboard so that no two are in the same row or column and no rook stands on…
- A box has three coins: a fair coin, a double-headed coin, and a biased coin that shows heads with probability 1/4. A coin is picked at…
- Arun and Bela each arrive at a café at a random time, uniformly and independently, between 5:00 and 6:00 pm. If Arun arrives first he…
- Two numbers x and y are chosen independently and uniformly at random from the interval [0, 1]. What is the probability that x + y < 1 and…
- A 6-character code is made from the letters A, B, C and D (letters may repeat). How many codes contain each of A, B and C at least once?…