Re: Logical puzzles
Posted: Fri Dec 03, 2010 3:10 pm
I am getting confused so I close my topic 
Life in 19x19. Go, Weiqi, Baduk... Thats the life.
https://www.lifein19x19.com/
Can you double-check the problem statement?HermanHiddema wrote:Not really a hint, but a more an additional piece of information, regarding the cruel bandit puzzle:
The right strategy will make their probability of all surviving:
I've reread it, and the problem statement is correct.daniel_the_smith wrote: Can you double-check the problem statement?![]()
Your program needs to know the prisoners' strategy, just brute forcing all combinations won't help.It was driving me nuts, so I've written a program to brute force it (obviously only for small values of N) and it has not come up with anything better than what people have proposed so far. I'm going to extend my program to try a random sampling of the permutations for larger values of N (using some subset of possible choices), but I don't expect it to come up with anything new.
SpongeBob wrote:Since lightvector's puzzle seems to be more of a math puzzle than a logical one, let me provide one more. (Herman's puzzle is too hard for me.)
You like simple looking puzzles that turn out to be nerve-wracking? Those that keep your head real busy and make you feel stupid? Here you go:
The teacher tells his kids: "We are going to write a test next week. On the day before the test, you will not know that you will write the test on the following day."
Now Bill thinks: If only I knew for what day the test has been scheduled. Well, it can't be Friday. As this is the last day of the week, we would know on Thursay that the test will be written the following day. It can't be scheduled for Friday, it must be either Monday, Tuesday, Wednesday or Thursday. Could it be scheduled for Thursday then? Well, then we would know on Wednesday, because we already found out it can't be Friday. So Thursday is out, too. With the same logic, Bill rules out all the other days of the week.
What's going on here? Is there a flaw in Bill's reasoning or does the teacher not tell the truth, or what?
Uh... logically their strategy must be a member of the set of all combinations, no? The problem states they can't communicate in any way once the trial starts...HermanHiddema wrote:
Your program needs to know the prisoners' strategy, just brute forcing all combinations won't help.
I will add a hint: (this one shows why your brute force strategy doesn't work)daniel_the_smith wrote:Uh... logically their strategy must be a member of the set of all combinations, no? The problem states they can't communicate in any way once the trial starts...HermanHiddema wrote:
Your program needs to know the prisoners' strategy, just brute forcing all combinations won't help.
Honestly I was more interested in the fact that there is an official village logician. Although I guess it could be a PC way of saying "witch doctor" or something...robinz wrote: PS: isn't it nice of bad guys in these kind of puzzles to always actually pose a solveable puzzle, rather than just killing the lot of them
Violence wrote:Here's a fun one for you all.
A teacher says: I'm thinking of two natural numbers bigger than 1. Try to guess what they are.
The first student knows their product and the other one knows their sum.
First: I do not know the sum.
Second: I knew that. The sum is less than 14.
First: I knew that. However, now I know the numbers.
Second: And so do I.
What were the numbers?
Not quite right.Magicwand wrote:Violence wrote:Here's a fun one for you all.
A teacher says: I'm thinking of two natural numbers bigger than 1. Try to guess what they are.
The first student knows their product and the other one knows their sum.
First: I do not know the sum.
Second: I knew that. The sum is less than 14.
First: I knew that. However, now I know the numbers.
Second: And so do I.
What were the numbers?
i guess i am really tired and not thinking straight..averell wrote: Not quite right.
I would like to see the solution, please. If you don't want to post it here, pm me.HermanHiddema wrote:I will add a hint: (this one shows why your brute force strategy doesn't work)daniel_the_smith wrote:Uh... logically their strategy must be a member of the set of all combinations, no? The problem states they can't communicate in any way once the trial starts...HermanHiddema wrote:
Your program needs to know the prisoners' strategy, just brute forcing all combinations won't help.
And another, bigger hint:
As requested, the solution:tj86430 wrote:I would like to see the solution, please. If you don't want to post it here, pm me.