I would like to compute the number of Scrabble draws, when starting a game. Translated to mathematics, this asks for the number of sub-multisets of a multiset.
Lets say we have a multiset $M$ over a set $N=\{1,...,n\}$. This means there are numbers $m_1,..m_n$, which indicate the multiplicity of the numbers $1$ to $n$. For $k \leq m := m_1+...+m_n$ we now want to draw a $k-$multiset from $M$, in other words numbers $k_1,...,k_n$ with the property $k_1+...+k_n=k$ and $0 \leq k_i \leq m_i$.
My Ansatz was drawing a number of $1$'s, this is $k_1$. In order to do so, we have $\min(m_1, 1+k)$ many possibilities.
Then we draw $k_2$, the number of $2$'s. For this, we have $\min(m_2, 1+k - k_1)$ many possibilities.
...
Finally, for $k_n$, there are $\min(m_n, 1+k- (k_1 + ... +k_{n-1}))$ many possibilities.
The problem is the obviously the self referentiality, i.e the number of possibilities for $k_i$ depending on $k_j$ for $j < i$. I'm sure there is a very clean way to do it via binomial coefficients or so but I'm not sure how to do it that way. Any help is appreciated. :-)
EDIT: bump