Solution:
Define the generating function of an event A as the polynomial
g(A,x)=∑pixi
where pi denotes the probability that i occurs during event A. We note that the generating function is multiplicative; i.e.
g(A AND B,x)=g(A)g(B)=∑piqjxi+j
where qj denotes the probability that j occurs during event B.
In our case, events A and B are the rolling of the first and second dice, respectively, so the generating functions are the same:
g(die,x)=81x1+81x2+81x3+81x4+81x5+81x6+81x7+81x8
and so
g(both dice rolled,x)=g(die,x)2=641(x1+x2+x3+x4+x5+x6+x7+x8)2
where the coefficient of xi denotes the probability of rolling a sum of i.
We wish to find two alternate dice, C and D, satisfying the following conditions:
- C and D are both 8-sided dice; i.e. the sum of the coefficients of g(C,x) and g(D,x) are both 8 (or g(C,1)=g(D,1)=8).
- The faces of C and D are all labeled with a positive integer; i.e. the powers of each term of g(C,x) and g(D,x) are positive integers (or g(C,0)=g(D,0)=0).
- The probability of rolling any given sum upon rolling C and D is equal to the probability of rolling any given sum upon rolling A and B; i.e. g(C,x)g(D,x)=g(A,x)g(B,x).
Because the dice are "fair"—i.e. the probability of rolling any face is 81—we can multiply g(A,x),g(B,x),g(C,x) and g(D,x) by 8 to get integer polynomials; as this does not affect any of the conditions, we can assume g(C,x) and g(D,x) are integer polynomials multiplying to (x1+x2+…+x8)2 (and subject to the other two conditions as well). Since Z is a UFD (i.e. integer polynomials can be expressed as the product of integer polynomials in exactly one way, up to order and scaling by a constant), all factors of g(C,x) and g(D,x) must also be factors of x1+x2+…+x8. Hence it is useful to factor x1+x2+…+x8=x(x+1)(x2+1)(x4+1).
We thus have g(C,x)g(D,x)=x2(x+1)2(x2+1)2(x4+1)2. We know that g(C,0)=g(D,0)=0, so x∣g(C,x),g(D,x). It remains to distribute the remaining term (x+1)2(x2+1)2(x4+1)2; we can view each of these 6 factors as being "assigned" to either C or D. Note that since g(C,1)=g(D,1)=8, and each of the factors x+1,x2+1,x4+1 evaluates to 2 when x=1, exactly three factors must be assigned to C and exactly three to D. Finally, assigning x+1,x2+1, and x4+1 to C results in the standard die, with a=b=28. This gives us the three cases (and their permutations):
- g(C,x)=x(x+1)2(x2+1), g(D,x)=x(x2+1)(x4+1)2. In this case we get g(C,x)=x5+2x4+2x3+2x2+x and g(D,x)=x11+x9+2x7+2x5+x3+x, so the "smaller" die has faces 5,4,4,3,3,2,2, and 1 which sum to 24.
- g(C,x)=x(x+1)(x2+1)2, g(D,x)=x(x+1)(x4+1)2. In this case we have g(C,x)=x6+x5+2x4+2x3+x2+x and g(D,x)=x10+x9+2x6+2x5+x2+x, so the "smaller" die has faces 6,5,4,4,3,3,2 and 1 which sum to 28.
- g(C,x)=x(x2+1)2(x4+1), g(D,x)=x(x+1)2(x4+1). In this case we have g(C,x)=x9+2x7+2x5+2x3+x and g(D,x)=x7+2x6+x5+x3+2x2+x, so the "smaller die" has faces 7,6,6,5,3,2,2, 1 which sum to 32.
Therefore, min{a,b} is equal to 24, 28, or 32.