Exercise 1.59 (Distributing chocolate bars)

There are 15 chocolate bars and 10 children. In how many ways can the chocolate bars be distributed to the children, in each of the following scenarios?
(a) The chocolate bars are fungible (interchangeable).
(b) The chocolate bars are fungible, and each child must receive at least one.
(c) The chocolate bars are not fungible (it matters which particular bar goes where).
(d) The chocolate bars are not fungible, and each child must receive at least one.

Answers

(a)
(15+9 9)
(b)
(5+9 9)
(c)
Each of 15 bars can be given to any of 10 children, so by ordered sampling with replacement formula, we have 1015 combinations.
(d)
To count amount of suitable combinations, we can subtract amount of combination, where at least one child doesn’t get any bars (is example of inclusion-exclusion usage case) from total amount of combinations. 1015 i=19 (1)i+1(10 i) (10 i)15.

User profile picture
2021-12-05 00:00
Comments