A standard 6 sided die rolls the numbers 1 through 6 with equal probability. Likewise, a k -sided die rolls the numbers from 1 through k with equal probability.
Let D(S, N, k) equal the number of ways to roll a total of S with N k -sided dice. D(3, 2, 6) = 2 because you can roll a 3 with a (1, 2) or a (2, 1).
Let T = D(20, 7, 12) + D(31, 6, 4) + D(15, 3, 7) + D(111, 17, 7) + D (17, 3, 57) + D(1, 2, 2) + D(10, 17, 12) + D(9, 3, 0).
What are the last three digits of T?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Mathematica Code:
Basically it picks the coefficient of x S in ( ∑ i = 1 k x i ) N