Since this question is on the front page again, a generalization.
Let $p$ be prime, and let $a$ and $b$ be positive integers with $a+b=p-1$. Is it possible to have two loaded dice, one with sides labeled $\{ 0,1,\ldots, a \}$ and the other with sides labeled $\{ 0,1,\ldots, b \}$, such that, when we roll the two dice, each of the totals $\{ 0,1,\ldots, p-1 \}$ occurs with equal probability?
I require that $p$ is prime because, if $p=uv$, we can take $(a,b) = (u-1, u(v-1))$ so that the first die produces the rolls $\{ 0,1,2,\ldots, u-1 \}$ each with equal probability, and the second die produces the rolls $\{ 0,u,2u, \ldots, u(v-1) \}$ each with equal probability, and has probability zero of landing on any other face.
Looking at the answers to the previous question, Jim Propp and Michael Lugo's solutions rule out $a=b=(p-1)/2$, and Michael Lugo's other solution rules out solutions with $a$ and $b$ odd. But I don't see any of the solutions that can be adapted to the general case.
Taking a generating function approach, we want to factor $x^{p-1} + x^{p-2} + \cdots + x+ 1$ into $\alpha(x) \beta(x)$ with each of $\alpha$ and $\beta$ of positive degree and having nonnegative real coefficients. For $p \leq 31$, I have tested the following claim in Mathematica:
If $x^{p-1} + x^{p-2} + \cdots + x+ 1 = \alpha(x) \beta(x)$ with $\alpha$ and $\beta$ both of positive degree with real coefficients, and if $\alpha$ is the factor with $\alpha(e^{(2 \pi i)/p})=0$, then $\alpha$ has a negative coefficient.
Caveat: I was using floating point arithmetic without interval bounds, so this might be the result of numerical error. Jim Propp's argument proves this when $\deg \alpha \leq (p-1)/2$, but that's only half the cases.
I don't see why this should be true, does anyone?