- #1
Hiero
- 322
- 68
Homework Statement
Suppose we have M dice each with N sides. The dice are ordered, so that rolling (1, 2, ...) is not the same as (2, 1, ...)
A valid configuration is one for which each number rolled is at least as large as the previous. (For instance, take M=N=2. (1,1) is valid, (1,2) is valid, (2,2) is valid, but (2,1) is not valid.)
How many configurations are valid?
Homework Equations
The answer is (M+N-1) choose (M)
The Attempt at a Solution
I can only see a kind of recursive approach, something like:
1 + M + Σn [from n=1 to M] + ΣΣ(...) + ΣΣΣ(...) + ...
(it’s a finite sum)
I haven’t explained it but it works for N = 3 (where only those first three terms exist) but obviously this is not the approach for general N.
Whenever the answer involves the choose function there’s usually an elegant way of viewing things, but I just can’t see the elegant approach.