Recently, I stumbled upon the puzzle: Make Two Dice out of Three, which asks for a solution to a case of the following question:
Suppose I roll $n$ indistinguishable dice. From purely the $n$ numbers showing, and no information about the ordering of the dice, what algorithm can I use, spitting out an unordered pair of numbers $a$ and $b$ such that the distribution of the unordered pair $(a,b)$ is the same as the distribution of a roll of two unordered dice?
After reading through the solutions posed on the question, none of which seemed particularly easy to remember, I sent the question along to one of my mathematician friends, Cassandra. She proposed the following general form for a more elegant strategy:
Well, obviously if you wanted to make one die from many, you could do so by taking the sum of the dice mod $6$. That is, if the dice come up as $x_1,x_2,\ldots,x_n$ you combine them into one value as $$x_1+x_2+\ldots + x_n \pmod6.$$ Rather than adopt some complicated scheme for getting two rolls, it would make more sense to me to try and salvage this strategy. In particular, choose two functions $f$ and $g$ and then say that if the dice come up as $x_1,x_2,\ldots,x_n$, you read the two rolls as the following: $$f(x_1)+f(x_2)+\ldots + f(x_n)\pmod6$$ $$g(x_1)+g(x_2)+\ldots + g(x_n)\pmod6.$$ I'm sure this is possible for large enough $n$ and some $f$ and $g$.
I like this idea, since one would only have to memorize two functions on a domain and range of six elements and it avoid any casework. To ease my work a bit, I have decided to only consider whether this is possible for even $n$. After much trying, I have been unable to find such functions. I'm sure I could go back and ask her for clarification, but I'm too embarassed - so I'll ask all of you: Can Cassandra's prediction be true for any even $n$?
As a couple answers below interpret the question differently than intended, let me write out the condition formally: Let $$F=f(x_1)+\ldots +f(x_n)\pmod 6$$ $$G=g(x_1)+\ldots+g(x_n)\pmod 6.$$ We wish to have that for any suitable $a$ and $b$ we have that $$P(F=a\text{ and }G=b) + P(F=b\text{ and }G=a)=\frac{1}{18}.$$ where $P$ is the probability of an event happening. This is what is meant by saying that $(F,G)$ has the same distribution as a roll of two unordered dice.
As a hint, let me say that the intended solution is not a counting argument, nor does it have to do with examining probabilities too carefully; it is rather more analytical in nature.