The calendar cube puzzle is famous: using two six-sided cubes, label them such that any day of any month can be represented by positioning the cubes accordingly.
The solution involves allowing the "6" and "9" to be represented by the same character.
My question is an extension: is it possible, using 4 six-sided cubes, to represent the two digit month and two digit day of any day of the year? With the proviso that 6 and 9 not be represented by the same character.
I don't know if this is possible or not, and the best I've been able to do is:
cube1 = {1, 9, 5, 2, 3, 4};
cube2 = {1, 5, 0, 7, 8, 9};
cube3 = {1, 6, 0, 2, 3, 4};
cube4 = {1, 6, 0, 2, 7, 8};
This allows for any dates besides the following:
06/06; 06/07; 06/08;
07/06; 07/07; 07/08;
08/06; 08/07; 08/08.
Is it possible to do better?
Better, yes. Perfect: I don't think so. Take: $$\begin{array} CC_1 & := & \{0,1,2,3,4,5\} \\ C_2 & := & \{0,1,2,6,7,8 \} \\ C_3 & := & \{0,1,2,7,8,9 \} \\ C_4 & := & \{0,1,3,4,5,6 \} \end{array}$$
Then you can manage any month and day combination except those that require a nine in each, namely 09/09, 19/09 and 29/09.
So how do we find these, and can we show they're optimal? Finding them is straightforward: for the day-problem first we know that we have to be able to represent $0n$ where $n\in\{1,2,\ldots,9\}$ as well as $11$ and $22$. So we must have $0,1,2$ present on both cubes. After that we divide what's left evenly amongst the cubes which gives us $C_1$ and $C_2$ above, with $9$ missing. For the standard calendar problem we conclude by noting that $6$ can be rotated $180$ degrees to yield $9$ and that we never need to combine $6$ and $9$ for a day of a month.
For the extended problem we next observe that we have two new cubes so we can try and build the months entirely from them. As our months go from $01$ to $12$ we now only need $0$ and $1$ present on both cubes, which frees up a space from our original arrangement for $C_1$ and $C_2$. So we put $9$ in that space and now we can represent all the months! Moreover, (although I haven't in my solution) if we replace the $2$ we no longer need by the $9$ we do on (say) cube $C_3$ then we know that we can swap cubes $C_1$ and $C_3$ whenever we need a $9$ rather than a $2$ so we get all the dates from cubes $C_1$, $C_2$ and $C_3$.
Finally we observe that there is still only one $9$ on our cubes, and we need two of them to generate all month/date combinations so we must necessarily omit dates. By choosing $9$ as our deficient number we minimise the dates missed (because 9 only ever appears in the units column), so this is the best we can do.