Live data from Hacker News

Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

math.dartmouth.edu

131–140 of 220 posts

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#131

Thank god I could solve "Love in Kleptopia". Would have been embarrassing being a founder of a security company.

I solved it a little differently than the suggested method.

The suggested solution requires a box that is capable of being locked in both the lid and box by two padlocks. It also requires (Spoiler!) the ring to make two pointless transits, which could be expensive if it was large.

What if, instead, the box was capable of admitting only one padlock? Then Jan would padlock it closed. On receiving the locked box, Maria locks her padlock to Jan's, and returns the box (still locked with Jan's padlock, and not necessarily containing anything.) Then, on receiving the box back from Maria, Jan can form a chain that can be broken by either his padlocks (which he can remove) or by Maria's padlock (which she can remove). Then he can attach the chain to any box. Perhaps he should clip one more of his padlocks only to hers, so she can also select a new box.

Of course, this relies on some properties of padlocks that are not necessarily transferrable to cryptography.

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#132
post #123
post #108

Earlier quoted context omitted.

I don't understand: the solution text claims that some permutations are guaranteed to work every time[1]. But you still have to initially land in one of "your" cycles, right? [1] "If it happens that the permutation has no cycles of length greater than 50, this process will work every time and the prisoners will be spared."

You always land in "your" cycle, because you start with the box with your name on it. All sequences of box-opening that use the method described must eventually cycle, because both box-to-name mappings are 1-to-1. Because it's a cycle, the sequence must eventually lead back to the box you started with. Since you start with the box with your name on it, then whatever cycle you landed it, it definitely contains the box…

I guess that's what I'm confused about: when we start, the boxes we map our names to have nothing to do with the name in the box. Just because my cycle includes the box I got assigned to, doesn't mean that cycle includes the box with my name inside it. If my name maps to 89, then sure, I accept 89 is a LT-50 cycle, but why does it mean that that cycle actually contains my name (as opposed to the box we assigned me to)?

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#133
post #126
post #117

Earlier quoted context omitted.

That puzzle needed more clarification. The solution talks about having two padlocks affixed to the same box, but I can't imagine any kind of box that can have 2 padlocks affixed to it unless the box is specifically designed to allow 2 locks.

A quick search for padlocked box will show many, many such boxes. It seems more common for there to be space for two or more locks, than for just one.

My point is that the puzzle should be updated to inform the reader that designing the right kind of box is a part of the puzzle:

"Jan and Maria each have plenty of padlocks, but none to which the other has a key. Using only the padlocks, keys, and a custom-designed box, how can Jan get the ring safely into Maria’s hands?"

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#134
post #53

Earlier quoted context omitted.

Jan takes a normal box and locks it. He declares the space enclosed by the box to be the "outside," and the world to be "inside."

Unfortunately, the mail thieves declare "outside" to be the volume in conformal space on the side of the boundary definition that contains the point at infinity, and "inside" to be the volume that does not, and thus steal the ring.

Those jerks, they're always one step ahead.

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#135
post #129

It's not in the same vein, but my favorite puzzle is the Monty Hall Problem. Although as is relentlessly pointed out, it's not actually how "Let's Make A Deal" works. Monty Hall shows you three doors, two have goats behind them, one has a brand new car. While still closed, you pick a door. After you've picked, Monty opens one of the other two doors to show you a goat, and asks if you want to stay with your choice, or…

Monty Hall, not Haul.

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#136
post #84

Earlier quoted context omitted.

I noticed that one proposed solution is pretty pointless: attach a key to the hasp of the first locked box. The key can then be copied ("stolen" in today's copyrights-holder's parlance) by anyone along the mailing route, and the first person to use the key gets the ring. This, aside from the fact that the key on the hasp is not "inside a padlocked box" ...

Should work fine if the locked box is sent first...

Not bad. Sadly this one has no (secure) digital parallel.

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#137
post #93

Earlier quoted context omitted.

Let F be the only person who is permitted to turn the light oFF. The N be every body else---they will be turning the lights oN. F starts with a counter at 0. If the light is on when F gets to the room, they turn the light off, and they increment their counter. If the light is off when F gets to the room, do nothing. Each N starts with a counter at 2. When any N enters the room, if the light is on, do nothing, but if…

> If the light is on when F gets to the room, they turn the light off, and they increment their counter. Who is they???

https://en.wikipedia.org/wiki/Singular_they

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#138
post #132
post #123

Earlier quoted context omitted.

You always land in "your" cycle, because you start with the box with your name on it. All sequences of box-opening that use the method described must eventually cycle, because both box-to-name mappings are 1-to-1. Because it's a cycle, the sequence must eventually lead back to the box you started with. Since you start with the box with your name on it, then whatever cycle you landed it, it definitely contains the box…

I guess that's what I'm confused about: when we start, the boxes we map our names to have nothing to do with the name in the box. Just because my cycle includes the box I got assigned to, doesn't mean that cycle includes the box with my name inside it. If my name maps to 89, then sure, I accept 89 is a LT-50 cycle, but why does it mean that that cycle actually contains my name (as opposed to the box we assigned me to…

Think about how you will get back to the box you got assigned to. Like what do you have to see in order to return to box 89, where you started?

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#139
post #126
post #117

Earlier quoted context omitted.

That puzzle needed more clarification. The solution talks about having two padlocks affixed to the same box, but I can't imagine any kind of box that can have 2 padlocks affixed to it unless the box is specifically designed to allow 2 locks.

A quick search for padlocked box will show many, many such boxes. It seems more common for there to be space for two or more locks, than for just one.

This just isn't true. I mean, yes they exist, but the norm is overwhelmingly a single latch with room for a single lock.

Re: Seven Puzzles You Think You Must Not Have Heard Correctly (2006) [pdf]

#140
post #38

Earlier quoted context omitted.

Each individual still has a ~50% chance of being unable to find their name using the query sequence protocol. By agreeing to the same query sequence their success modes and failure modes are now linked. If there's a cycle of 51 or greater, all of those individuals in that cycle are guaranteed to fail, while if they're in a cycle of 50 or less, all of those individuals are guaranteed to succeed. What this protocol doe…

You are right, but we can also agree on a common query sequence in advance that doesn't use the 'results' of the queries. What about using what we find makes this so much more efficient?

You need to use the result of the query to place yourself in the right cycle (in this case by starting with the box matching your name).
Post reply on HN