There are $85$ different candies and $30$ children in a kindergarden.How many ways are there to distribute $85$ different candies to $30$ children if :
a-)Each children has at least $1$ candy
b-)Each children has at least $2$ candies
$\color{blue}{SOLUTION:}$
$\color{green}{a-)}$ Fisrt assume that all of children are indistinguishable , and distribute candies such that $S(85,30)$ where $\color{blue}{S}$ is Stirling number of second kind.
After dividing these $85$ candies into $30$ pieces , we can give them to $30$ children in $30!$ different ways.
$\color{red}{\therefore}$ $30! \times S(85,30) $
$\color{green}{b-)}$ In this part , I thought that i should firstly give $2$ candies to each of $30$ children by $C(85,60) \times \frac{60!}{(2!)^{30}}$ different ways.
Now , I have $25$ different candies to disperse $30$ children , but i know that i can distribute these candies to at most $25$ children and at least $1$ child.
So , i will choose $25$ children from $30$ children by $C(30,25)$ ways.
Because of the fact that i can give these candies any of $25$ children , i thought that i can do it by $\sum_{i=1}^{25}P(25,i) \times \sum_{i=1}^{25}S(25,i) $ where $S$ is stirling number of second kind.
So , answer is $C(85,60) \times \frac{60!}{(2!)^{30}} \times C(30,25) \times \sum_{i=1}^{25}(P(25,i) \times S(25,i)) $
Are my solutions correct , if not , can you share your knowledge with me. Thanks for all contributions ..
NOTE: This question is inspired from : In how many ways can $50$ sweets be distributed to $30$ children so that each child receives at least one sweet?
NOTE 2 = As you know , children are distinguishable, as well.
$\color{red}{EDIT}$: This edit contains my new solution for part $\color{blue}{b}$
$C(85,2) \times C(83,2) \times ... \times C(27,2)$ = $\frac{85!}{25!\times2^{30}}$
So, $\frac{85!}{25!\times2^{30}} \times \sum_{i=1}^{25}(P(25,i) \times S(25,i)) $