1
   

twenty mathematicians

 
 
tiger12
 
Reply Tue 16 Nov, 2004 08:37 am
Twenty mathematicians are captured by cannibals who want to eat the mathematicians, but they are sporting cannibals who are willing to give the mathematicians a chance to save themselves.
So, they tell them that they are to be lined up, single file, and have either a black or white hat placed upon their heads. Starting with the last mathematician in line, and working toward the front, each will be asked what color hat he is wearing. If correct, he's set free, if incorrect, he's an entree. No communication of any kind is allowed, other than an initial strategy session before this all begins, and then the announcement of which color hat each is wearing (one at a time, back to front).

How many mathematicians can be saved?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 1,050 • Replies: 11
No top replies

 
Grand Duke
 
  1  
Reply Tue 16 Nov, 2004 09:34 am
I like to think that it would average at 10 (50%) but that's probably too obvious.
0 Replies
 
tiger12
 
  1  
Reply Tue 16 Nov, 2004 09:42 am
The question is, or should have said/read: How many can they GUARANTEE will be saved?

btw, the average saved is higher than 50%
0 Replies
 
markr
 
  1  
Reply Tue 16 Nov, 2004 10:17 am
19 - it's a parity thing. 20th guy has a 50% chance of survival.
0 Replies
 
fatathaland
 
  1  
Reply Mon 22 Nov, 2004 01:42 am
markr, please explain further...
0 Replies
 
markr
 
  1  
Reply Mon 22 Nov, 2004 11:53 pm
The guy at the back will see 99 hats, so there will be an odd number of one color and an even number of the other. They agree ahead of time that he will call out the color that appears an odd (or even) number of times. Each person keeps track of the parity (odd/even) of the number of hats of the originally called color that is called out behind him. That information combined with what he sees in front of him allows each person to call out the correct color.

For instance, if the first guy calls out black (indicating an odd number of black hats in front of him), and an odd number of black calls have been made since the first call, then the next guy will call black if he sees an odd number of black hats in front of him (odd+odd=even, therefore his must be black to make the total odd) and white if he sees an even number of black hats (odd+even=odd, therefore his must be white to keep the total odd).

The first guy has a 50/50 chance of getting his correct.
0 Replies
 
Adrian
 
  1  
Reply Tue 23 Nov, 2004 12:01 am
Laughing

First there's only twenty.....

Second the question doesn't say there are 10 black and 10 white.....
0 Replies
 
markr
 
  1  
Reply Tue 23 Nov, 2004 12:07 am
Oops, I goofed the total. Replace 99 with 19.

What I described doesn't assume a 10/10 split. In fact, it will work if all of the hats are the same color. However, this made me realize that they have to agree that the first guy will call out the odd color. There won't be an even color if they are all the same color.
0 Replies
 
Tryagain
 
  1  
Reply Wed 24 Nov, 2004 08:45 am
0 Replies
 
markr
 
  1  
Reply Wed 24 Nov, 2004 01:28 pm
Not only is that not permitted (at least in other instances of the problem I've seen), it is not necessary. The solution I provided will ensure that 19 are saved.
0 Replies
 
markr
 
  1  
Reply Wed 24 Nov, 2004 02:34 pm
Here's an example with ten people.

From last to first (the order they will be calling out) their hats are:
B B B B W B W W B W

The last (tenth/leftmost) guy, seeing an odd number of black hats, calls out black.
Here's the thought process for the ninth through first persons:

9: There are an odd number of black hats (the color of the tenth guy's hat doesn't count or matter). I see an even number (4), so mine must be black. He calls black.
8: Black is odd. I can account for an even number (1 behind, 3 in front), so mine must be black. He calls black.
7: Black is odd (I'm dropping this on the rest). 2 behind, 2 in front (4 is even), so mine is black.
6: 3 behind, 2 in front (5 is odd), so mine is white.
5: 3 behind, 1 in front (4 is even), so mine is black.
4: 4 behind, 1 in front (5 is odd), so mine is white.
3: 4 behind, 1 in front (5 is odd), so mine is white.
2: 4 behind, 0 in front (4 is even), so mine is black.
1: 5 behind, 0 in front (5 is odd), so mine is white.
0 Replies
 
Tryagain
 
  1  
Reply Wed 24 Nov, 2004 03:37 pm
Super Cool
0 Replies
 
 

Related Topics

Alternative Einstein's riddle answer - Discussion by cedor
Urgent !!! Puzzle / Riddle...Plz helpp - Question by zuzusheryl
Bottle - Question by Megha
"The World's Hardest Riddle" - Discussion by maxlovesmarie
Hard Riddle - Question by retsgned
Riddle Time - Question by Teddy Isaiah
riddle me this (easy) - Question by gree012
Riddle - Question by georgio7
Trick Question I think! - Question by sophocles
Answer my riddle - Question by DanDMan52
 
  1. Forums
  2. » twenty mathematicians
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 10/06/2024 at 02:30:10