Take a look at the following question,
There is a group of $10$ objects, $2$ red, $3$ blue, and $5$ green. The objects are indistinguishable. In how many ways they can be arranged on a line?
Solution:
$\binom{10}{2}\cdot\binom{8}{3}\cdot\binom{5}{5} = \frac{10!~~~8!~~~5!}{2!8!3!5!5!0!} = \frac{10!}{2!3!5!} = 2520$
What is the formula for this kind of problems so that someone can directly apply the formula to find the result?
The general formula for the
This fraction is also called multinomial coefficient and is written as $\binom{n}{k_1, \ldots ,k_r}$.
By your example you can quickly understand why it works:
So, a given permutation appears $k_1!\cdot k_2!\cdot k_3! = 2!\cdot 3! \cdot 5!$ times within the $n!= 10!$ arrangements of all $10$ objects. Hence, in your case it follows that the number of (distinguishable) arrangements is $$\frac{10!}{2!\cdot 3! \cdot 5!}$$