Prompt:
How many ways are there to give 20 different presents to 4 different children, so that no child gets exactly 6 presents. All presents are different.
Here's what I tried doing
Since there are 20 presents to be distributed among 4 children,
$$C_1 + C_2 + C_3 + C_4 = 20$$ By bars and stars, $$\binom{ 20 + 4-1 }{ 4-1 } = \binom{ 23 }{ 3 } = 1771$$
$C_2 + C_3 + C_4 = 14 $ (after giving 6 presents to $C_1$)
Assuming $C_1$ gets 6 present = $\binom{ 14 + 3 - 1 }{ 3 - 1 } = \binom{ 16 }{ 2 } = 120$
Assuming $C_2$ gets 6 presents = $\binom{ 14 + 3 - 1 }{ 3 - 1 } = \binom{ 16 }{ 2 } = 120$
Assuming $C_3$ gets 6 presents = $\binom{ 14 + 3 - 1 }{ 3 - 1 } = \binom{ 16 }{ 2 } = 120$
Assuming $C_4$ gets 6 presents = $\binom{ 14 + 3 - 1 }{ 3 - 1 } = \binom{ 16 }{ 2 } = 120$
No one gets exactly 6 presents = Total - Everyone gets 6 presents
= $\binom{ 23 }{ 3 } - \binom{ 4 }{ 1 }\binom{ 16 }{ 2 } = 1771 - 480 = 1291$
I am new to combinatorics and not sure if I'm on the right path any help would be appreciated.
Your use of combinations with repetition would be appropriate if the presents are identical. However, they are different, so it matters which child receives which present.
If there were no restrictions, there would be four possible recipients for each of the twenty presents, so there would be $4^{20}$ ways to distribute the presents to the children.
From these, we must exclude those distributions in which one or more children receive exactly six presents. Since $4 \cdot 6 = 24 > 20$, at most three of the children can receive exactly six presents.
There are $\binom{4}{1}$ ways to select a child who will receive six presents and $\binom{20}{6}$ ways to select the presents that child receives. The remaining $20 - 6 = 14$ presents can be distributed among the remaining three children in $3^{14}$ ways. Hence, there are $$\binom{4}{1}\binom{20}{6}3^{14}$$ distributions in which a child receives exactly six presents.
There are $\binom{4}{2}$ ways to select two of the four children to receive exactly six presents. There are $\binom{20}{6}$ ways to select six of the presents for the younger of the two selected children and $\binom{20 - 6}{6} = \binom{14}{6}$ ways to select six presents for the older of the two selected children. The remaining $20 - 2 \cdot 6 = 8$ presents can be distributed to the remaining two children in $2^6$ ways. Hence, the number of distributions in which two children receive exactly six presents is $$\binom{4}{2}\binom{20}{6}\binom{14}{6}2^8$$
There are $\binom{4}{3}$ ways to select three of the four children to receive exactly six presents. There are $\binom{20}{6}$ to distribute six of the twenty presents to the youngest of the selected children, $\binom{14}{6}$ ways to distribute six of the fourteen remaining presents to the next youngest of the selected children, and $\binom{8}{6}$ ways to distribute six of the remaining eight presents to the oldest of the selected children. There is one way to distribute the remaining $20 - 3 \cdot 6 = 2$ presents to the other child. Hence, the number of distributions in which three of the children receive exactly six presents is $$\binom{4}{3}\binom{20}{6}\binom{14}{6}\binom{8}{6}1^2$$
By the Inclusion-Exclusion Principle, the number of distributions in which no child receives exactly six of the twenty presents is $$4^{20} - \binom{4}{1}\binom{20}{6}3^{14} + \binom{4}{2}\binom{20}{6}\binom{14}{6}2^{8} - \binom{4}{3}\binom{20}{6}\binom{14}{6}\binom{8}{6}1^2$$