Nikitin
- 734
- 27
Homework Statement
n dices are thrown. In how many ways can you get an m (<=n) amount of fives?
The Attempt at a Solution
Well, I thought since you can organize the 5s in m! ways, and for each such permutation you can organize the remaining dice rolls in ##5^{n-m}## ways, the solution must be ##m! \cdot 5^{n-m}##, or alternatively ##\frac{m! \cdot 5^{n-m}}{n!}## if the order is irrelevant.
EDIT: It seems I am completely wrong, as I get decimals for answers when I try out my formulas. Can somebody please help me? is the answer perhaps simply ##1^m 5^{n-m}##?
Last edited: