Seven Puzzles You Think You Must Not Have Heard Correctly
math.dartmouth.edu
math.dartmouth.edu
The solution is interesting and worthy, but the problem as written is poorly stated. I hit the right idea while I was thinking about it but then rejected it because it seemed like an unjustified assumption. More than one of these seem to depend on the vagueness or incompleteness of the problem specification resulting in a meta-solution rather than a formal one.
> ... it depended on something not stated in the
> problem; in brief it requires multiple interdependent
> participants to adhere to a pre-agreed algorithm
> for searching a data structure whose topology
> they cannot know in advance.
It clearly says: The prisoners have a chance to plot their strategy in advance
That seems pretty clear: the prisoners must pre-agree a strategy to do what they're going to do. Not adhereing to that seems to follow naturally.What am I missing?
The problem as stated, or the objection in the HN comment 835216?
I think the problem as stated is perfectly clear, and I thought that when I first met it a few years ago. It boggled me then that it was possible, and it continues to boggle me somewhat even now.
I also heard about it a few years ago, and discovering the solution was mind-blowing! It's stunning that it's possible.
If you're a fan of these types of puzzles please check out my contribution to the field:
http://www.srcf.ucam.org/~te233/maths/puzzles/evenharder.htm...
Your reference to topology confused me. I thought you were referring to the topology of the cyclic structure(s) induced by the permutation, not to the geometry of the physical arrangement of the boxes.
Now I understand, but I still think theproblem statement is clear.
It took awhile to sink in that the prisoners could use their own memory, instead. Randomly line up, and have each prisoner memorize all prisoners' numbers in line. Then, agree on the numbering structure of the boxes in the room (eg: left to right = 0 to 100).
This fails if the warden is allowed to shuffle the boxes before each prisoner selects (not likely). It also fails if the room were rotationally symmetric, and each prisoner was brought in from one of two entrances. This way he would be unable to identify the "left" end of the line of boxes. (Much more likely, were I warden).
The second problem is surprisingly difficult, and more annoyingly, the 2D case offers no guidance for the 3D case. Even more annoyingly, the solution, while obviously correct, is unenlightening. I hate unenlightening proofs.
The third problem suffers from the abstract problem statement and unclear mechanic; I had to read the solution to understand the problem, which is too bad. It's a wonderful problem. Fortunately, understanding the solution wasn't exactly a whole lot simpler than solving the problem might be, so I had that as compensation. I offer the following (simpler) restatement in the hope that it will allow someone else to enjoy the problem:
There is a town where each member has on his forehead a blue or red dot. If on any given day he figures out which it is, he dies in his sleep that night. On one particular morning, five of them--all with blue dots, unbeknownst to them--are standing on a street corner when a stranger walks by. "Well," he says, "I see more than one blue dot is out this fine morning!" Prove that all five die in their sleep before the week is over.
(If you can do that, the generalization is obvious -- so stating the problem in a general way only serves to obscure the terms.)
The rest of the problems rapidly lost my interest . . . so I'd say they were well arranged.
Thanks for an enjoyable waste of an evening!
One-dimensional case:
a1 < a2
Two-dimensional case: a1*b1 < a2*b2 (area)
a1+b1 < a2+b2 (sides projected outwards, triangle inequality)
Three-dimensional case: a1*b1*c1 < a2*b2*c2 (volume)
a1*b1+a1*c1+b1*c1 < a2*b2+a2*c2+b2*c2 (surface area, projected outwards)
a1+b1+c1 < a2+b2+c2 (our problem)
Notice the pattern already? If one N-dimensional box lies inside the other, the inequality holds for all elementary symmetric polynomials of box dimensions.http://en.wikipedia.org/wiki/Elementary_symmetric_polynomial
To prove it, we need only notice that the symmetric polynomial of degree M is proportional to the average volume of the M-dimensional "shadow" of the N-dimensional box, averaged over all projection directions uniformly. (To convince yourself of that, work through the two-dimensional case.) On the other hand, if a box lies inside another box, each "shadow" of the smaller box lies within the corresponding "shadow" of the bigger box. Done!
I figured a straight line would be equivalent to a random arrangement with each of the boxes being numbered, so I assumed the vagueness was designed to lead one into making a foolish assumption about their ordinal presentation. Maybe I'm paranoid :-)
1) every prisoner uses the same entry (with the same reference frame in respect to boxes)
2) there are no changes in the arrangement of boxes between prisoner visits (this is extra requirement, as it includes wardens not doing any rearrangements in the meanwhile)
But otherwise, the strategy could be extended for arbitrary topologies - just state additional algorithm for defining starting point of labeling and then use a deterministic rule telling which box would be the next one.
For example, for circular arrangement - start at 12:00 and go clockwise.
Or, for arbitrary random arrangement - start at upper left box and then proceed in (axis-aligned) grid: leftmost->rightmost->down to next leftmost->repeat.
The answer to the puzzle #1 is simply totally incorrect: how long the permutations are has nothing to do with whether your name is in any of the boxes in the permutation that the prisoners start with your name.
EDIT: After thinking about, and trying a few small {try 4 boxes) examples, I'm not so sure [i.e. I guess I blew it].
The answer is correct. Your name has to be in the cycle started with your box, this follows from the fact that permutations are bijections. It is impossible to have something like:
0->1->2->1
(Because then 1 would be in two boxes at once, which is impossible.)http://www.srcf.ucam.org/~te233/maths/puzzles/evenharder.htm...