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?