7
$\begingroup$

You are and your friend are given a list of N distinct integers and are told this:

Six distinct integers from the list are selected at random and placed one at each side of a cube. The cube is placed in the middle of a rectangular room in front of its only door, with one face touching the floor, its 6 sides parallel to the walls of the room. Your friend must enter the room and is allowed to alter the orientation of the cube, with the restriction that afterwards its in the same place with one face touching the floor and its 6 sides kept parallel to the walls of the room. Your friend will then be sendt away, after which you can enter the room and are allowed to observe the 5 visible sides of the cube.

What is the largest N that guarantees you to be able to determine the number on the bottom of the cube and what should you instruct your friend to do with the cube for that N?

N=29 is possible see! still in need of strategy https://mathoverflow.net/questions/52541/hard-cube-puzzle

  • 0
    There's an easy strategy for up to N = 25, but I'm confident one can do better. This reminds me of a puzzle involving five cards randomly selected from a deck. One friend enters the room and arranges the five cards, removes one, and leaves the other four stacked on a desk. The other friend enters, examines the four cards left and deduces which one was removed.2011-01-19
  • 0
    Are the N integers just any N not necessarily distinct integers?2011-01-19
  • 0
    @Harry The N integers are N distinct integers2011-01-19
  • 0
    @hardmath Can you explain how N=25 is possible? The way I see it the cube has only 6*4 possible configurations in the room, unless im missing something2011-01-19
  • 0
    @solomoan: Yes, but there are only 20 missing numbers (because you can see five of them).2011-01-19
  • 1
    @solomoan: The cube does have only 24 possible configurations, but you can rule out 5 numbers just because you can see them, so you get some extra information that way. But I'd also like to see an explicit N=25 solution posted as a "lower bound" answer to match my upper bound.2011-01-19
  • 0
    I thought I'd found hardmath's 'easy strategy', then I realised it didn't work. So I would like to see it too, hardmath!2011-01-19
  • 0
    I'd be interested to see any solution for N>9.2011-01-19
  • 0
    Doesnt seem like I will get answer here, would it be ok to post this at MO?2011-01-19
  • 1
    @Peter: Here's a solution for N=15. Consider the corner that joins the largest face, its largest neighbor, and their largest common neighbor. Your friend will place this corner on the top of the cube. There are 12 ways for him to do this (four possible positions, and three rotations per position). Associate these 12 choices with the 12 numbers that are not adjacent to this corner.2011-01-19
  • 0
    @Peter: The solution I just gave for N=15 doesn't quite work, but works if you associate the 12 choices with sums modulo 12 of the ranks of the remaining three sides; and see my answer below for N=18.2011-01-19
  • 0
    @solomoan: I think this is the right forum. It's more of a puzzle than a research topic. (And most MO members are active here too.)2011-01-19

1 Answers 1

8

A straightforward upper bound is $N=29$. For a given $N$, you are trying to select one of the possible assignments of numbers to the six sides (up to rotation of the cube), of which there are $$ {N \choose 6}\frac{6!}{24} = \frac{N!}{24(N-6)!}. $$ The number of different states you can see when you enter the room, on the other hand, is $$ {N \choose 5}5! = \frac{N!}{(N-5)!} = \frac{N!}{(N-5)(N-6)!}. $$ The number of outputs (i.e., assignments of numbers to the cube) is greater than the number of inputs (i.e., different states you can see) whenever $N-5 > 24$, and so there can't be a surjective mapping from inputs to outputs unless $N \le 29$.


A lower bound of $N=18$ is given by the following strategy. Your friend will place the cube so that the largest face and its largest neighbor are visible. There are 16 such ways to orient the cube, all distinguishable by the visible faces: 4 where the largest face is on top; 4 where its largest neighbor is on top; and 8 where both the largest face and its largest neighbor are on the side. Order these 16 arbitrarily in advance, corresponding to the integers $0$ through $15$. Similarly, rank the 16 numbers that are not equal to the largest face or its largest neighbor, from $0$ to $15$. Your friend will place the cube in the position corresponding to the sum of the other four faces' ranks, modulo 16. By subtracting the ranks of the three faces you can see, you can deduce the rank, and hence the value, of the hidden face.

  • 0
    What if the largest face and its neighbour are opposite each other?2011-01-19
  • 0
    @Peter: The solution uses the largest face and the largest of its four neighboring faces on the cube (not the largest face and the second-largest face, which might well be opposite each other).2011-01-19
  • 1
    Your "upper bound" can actually be attained. The MO answer states this in terms of a perfect matching for a bipartite graph, using Hall's Thm. Since for N = 29 the graph from numbered cubes to possible orientations of 5 visible sides is regular of degree 24, König's Thm. could also be applied (to guarantee a perfect matching). http://en.wikipedia.org/wiki/K%C3%B6nig's_theorem_(graph_theory\)2011-01-20