I recently ran across a wonderful logic puzzle, but no solution was provided. I eventually worked out a complete solution myself, but it was rather ugly, and I would like to see if people smarter than me can come up with something more elegant. Are there any good Internet puzzle discussion forums floating around?
I note that I already posted the puzzle to
The Grey Labyrinth, a wonderful site, but I was looking for other such places.
And I wouldn't want to rob Ask MeFi of the puzzle itself, so I'll put it here. It's a minor modification of a problem from Julian Havil's lovely book, "Impossible?"
("Natural numbers" here means positive integers.)
Someone secretly picks two natural numbers (c and d, not necessarily distinct) and approaches two perfect logicians, A and B. A is told the sum of the two numbers, i.e. the number (c+d). B is told the sum of the squares of the numbers, i.e. the number (c^2+d^2). Both know the nature of the information conveyed but don't know the number given to the other person. The subsequent conversation (referring to the two natural numbers c and d) between them runs as follows:
B: I do not know the numbers.
A: I do not know the numbers.
B: I do not know the numbers.
A: I do not know the numbers.
B: I do not know the numbers.
A: I do not know the numbers.
B: I do not know the numbers, so...
A and B simultaneously: ...we'll never know them.
Why does it take so long for A and B to conclude this?
(The original problem, available
here, is superior in that the answer seems to drop out of the sky from nowhere, but I like how my formulation begins in ignorance, ends in ignorance, has a whole lot of ignorance in between, and yet conceals a surprising amount of reasoning.)
posted by 0xFCAF at 5:28 PM on October 11, 2008