Say I have a bag, and I want to draw from it 5 balls, of colours Red, Blue and Green, and I care about the order (i.e. permutations) I draw them in.
As an example, lets say I have 20 Red Balls, 5 Blue balls and 3 Green balls. The number only really matters if it's fewer than the draws I have (i.e. it could have been 5 red balls).
The closest question I have found to this is: Counting permutation of duplicate items but that supposes that $p+q+r+⋯=n$ draws, but my example is $p+q+r+⋯>n$.
Trying to apply the formula there doesn't make sense to me:
$$\dfrac{n!}{p!q!r!\cdots}$$
Even if I 'clamp' the number of balls to the total number of draws, I get $p+q+r+⋯>n$, and I don't think I can follow the cancellation logic by setting $p=n$, using $\binom{a}{b}=\dfrac{a!}{b!(a-b)!}$. If I do, and $a=b$, then I simply get $\binom{a}{b}_{a=b}=\dfrac{a!}{a!} = 1$. Which is nonsense.
What am I missing, that would let me calculate this?