1.6.4 problem 59

(a)
(b)
(c)
Each of 15 bars can be given to any of 10 children, so by orderd sampling with replcement formula we have 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.