$m$ identical balls are to be placed in $n$ distinct bags. You are given that $m \geq kn$, where $k$ is a natural number $\geq 1$. In how many ways can the balls be placed in the bags if each bag must contain at least $k$ balls?
very much simple approach,
https://www.youtube.com/watch?v=5G92GoDifWI
Just in case someone is confused with the short trick used:
https://math.stackexchange.com/questions/910809/how-to-use-stars-and-bars
Total m balls and each contain at least k balls. So give k balls each n bags and remaining = (m – kn)
Now (m – kn) we have to permute in n bags So, C ( m-kn+n-1 , n-1).
Note : (n-1) because for n numbers we do (n-1) partitions. Find similarity from the no. of ways X+Y+Z = 12. how many X, Y,Z values possible. Here we do (3-1) partitions.
IODB TEMPLATE
64.3k questions
77.9k answers
244k comments
80.0k users