Q:
Choose $20$ balls from an urn with infinite numbers of balls.
The balls are labeled with $A, B, C, D$ and each has $25$% of chances getting picked.
What is the probability of picking $3$ $A$'s, $4$ $B$'s, $5$ $C$'s and $8$ $D$'s when you pick $20$ balls?
My approach to this question is:
total # of permutations = $4^{20}$
ways of having $8$ $D$'s = ${20 \choose 8}$
ways of having $5$ $C$'s = ${12 \choose 5}$
ways of having $4$ $B$'s = ${7 \choose 4}$
permutation of these = $4!$
Probability: $(4! \cdot {20 \choose 8} \cdot {12 \choose 5} \cdot {7 \choose 4}) / 4^{20}$
I am not sure if I am doing this correctly or not.
Can someone please give me some pointers.
Also, how to deal with it if the probability distribution is not uniform?