The Brain Teaser Thread

brikis98

Diamond Member
Jul 5, 2005
7,253
8
0
I'm bored as hell today, so lets post some brain teasers to keep my mind busy.

I'll start:

You are sitting at a table that has a whole bunch of coins scattered on it. You notice that exactly ten of these coins are tails up. All of a sudden, all the lights in the room go out and it's pitch black.

The question: how can you make two stacks of coins so that you can guarantee that each stack has the same number of coins tails up? Note that, in the dark, you cannot tell one side of a coin from the other - ie, they feel/taste/smell/etc the same on each side.
 

MotionMan

Lifer
Jan 11, 2006
17,123
12
81
Place any N coins into one group and the remaining coins into the other
group.

Flip over over all N coins in the first group.


I don't have a new one, so someone can take my turn.

MotionMan
 

brikis98

Diamond Member
Jul 5, 2005
7,253
8
0
Originally posted by: MotionMan
Place any N coins into one group and the remaining coins into the other
group.

Flip over over all N coins in the first group.


I don't have a new one, so someone can take my turn.

MotionMan

correct. had you heard this one before, use google or did you actually figure it out?

(personally, this one took me a LONG time to get)
 

Aikouka

Lifer
Nov 27, 2001
30,383
912
126
Originally posted by: MotionMan
Place any N coins into one group and the remaining coins into the other
group.

Flip over over all N coins in the first group.


I don't have a new one, so someone can take my turn.

MotionMan

After a quick look at that, I don't think it works. For example, if I place 1 coin into the one group and 99 into the other group, do you think I'll have only 1/99 coins tails up? Especially when there were 10 to begin with!
 

hypn0tik

Diamond Member
Jul 5, 2005
5,866
2
0
Originally posted by: MotionMan
Place any N coins into one group and the remaining coins into the other
group.

Flip over over all N coins in the first group.


I don't have a new one, so someone can take my turn.

MotionMan

Can you please explain?
 

brikis98

Diamond Member
Jul 5, 2005
7,253
8
0
To keep this thread going, I'll add one more, but I hope someone else has something for the future:

After losing a battle to his rival, an angry king decided that he would execute the 50 engineers he had in his employment. He marched them out on the field and prepared to execute them, but at the last second, the king felt pity and decided to give them one last chance to live.

The king explained to the engineers that on the following day, the 50 engineers would again be marched out onto a field. They would stand in a straight line, back to front, all facing the same direction, so each man sees just the backs of the men in front of him. The king's soldiers would then put, at random, either a red or black hat on each engineer. The engineer would be able to see all the hats of the men in front of him, but not his own or those of the men behind him.

The king would then start at the back of the line - that is, the engineer who can see the other 49 engineers in front of him - and ask: "is your hat red or black?" The engineer would then answer with one word: either "red" or "black". If he gets it right, he lives. If he gets it wrong, he is immediately executed. Either way, the king moves up the line asking the same question to each engineer in turn. If an engineer says anything other than "red" or "black" or if any of the engineers cheat (try to look at their own hats), all 50 are immediately executed.

Question: what strategy can the engineers come up with to guarantee the maximum number of them survive?
 

JS80

Lifer
Oct 24, 2005
26,271
7
81
Originally posted by: brikis98
Originally posted by: MotionMan
Place any N coins into one group and the remaining coins into the other
group.

Flip over over all N coins in the first group.


I don't have a new one, so someone can take my turn.

MotionMan

correct. had you heard this one before, use google or did you actually figure it out?

(personally, this one took me a LONG time to get)

can you explain this i don't even get it
 

brikis98

Diamond Member
Jul 5, 2005
7,253
8
0
Originally posted by: Aikouka
Originally posted by: MotionMan
Place any N coins into one group and the remaining coins into the other
group.

Flip over over all N coins in the first group.


I don't have a new one, so someone can take my turn.

MotionMan

After a quick look at that, I don't think it works. For example, if I place 1 coin into the one group and 99 into the other group, do you think I'll have only 1/99 coins tails up? Especially when there were 10 to begin with!

I believe in MotionMan's answer, he means that N = 10, or whatever number was initially tails up...
 

JTsyo

Lifer
Nov 18, 2007
11,818
953
126
Originally posted by: MotionMan
Place any N coins into one group and the remaining coins into the other
group.

Flip over over all N coins in the first group.


I don't have a new one, so someone can take my turn.

MotionMan

Why would that work? Say you have 12 total. If you pick 3 coins and they are all tails. Then when you flip them you get 3 heads in one pile and 7 tails in the other.

I believe in MotionMan's answer, he means that N = 10, or whatever number was initially tails up...

ahh that makes sense.
 

ShadowOfMyself

Diamond Member
Jun 22, 2006
4,227
2
0
Originally posted by: brikis98
Originally posted by: MotionMan
Place any N coins into one group and the remaining coins into the other
group.

Flip over over all N coins in the first group.


I don't have a new one, so someone can take my turn.

MotionMan

correct. had you heard this one before, use google or did you actually figure it out?

(personally, this one took me a LONG time to get)

Wtf... I dont get how his solution solves anything

What do you mean by "N" coins? Are you referring to "any number of coins" ? It makes no sense, you dont even know how many coins there were in the table

Say you take 10 coins, and 2 of them are heads, 8 are tails, you split them into 2 groups of 5, one has 2 heads and 3 tails, the other has 5 tails... You flip over all coins in the first group and you get 2 tails and 3 heads, which accomplishes absolutely nothing
 

JS80

Lifer
Oct 24, 2005
26,271
7
81
Originally posted by: brikis98
To keep this thread going, I'll add one more, but I hope someone else has something for the future:

After losing a battle to his rival, an angry king decided that he would execute the 50 engineers he had in his employment. He marched them out on the field and prepared to execute them, but at the last second, the king felt pity and decided to give them one last chance to live.

The king explained to the engineers that on the following day, the 50 engineers would again be marched out onto a field. They would stand in a straight line, back to front, all facing the same direction, so each man sees just the backs of the men in front of him. The king's soldiers would then put, at random, either a red or black hat on each engineer. The engineer would be able to see all the hats of the men in front of him, but not his own or those of the men behind him.

The king would then start at the back of the line - that is, the engineer who can see the other 49 engineers in front of him - and ask: "is your hat red or black?" The engineer would then answer with one word: either "red" or "black". If he gets it right, he lives. If he gets it wrong, he is immediately executed. Either way, the king moves up the line asking the same question to each engineer in turn. If an engineer says anything other than "red" or "black" or if any of the engineers cheat (try to look at their own hats), all 50 are immediately executed.

Question: what strategy can the engineers come up with to guarantee the maximum number of them survive?

the last person yells out the first, second to last the second, etc. at least half survive?
 

jersiq

Senior member
May 18, 2005
887
1
0
Originally posted by: brikis98
To keep this thread going, I'll add one more, but I hope someone else has something for the future:

After losing a battle to his rival, an angry king decided that he would execute the 50 engineers he had in his employment. He marched them out on the field and prepared to execute them, but at the last second, the king felt pity and decided to give them one last chance to live.

The king explained to the engineers that on the following day, the 50 engineers would again be marched out onto a field. They would stand in a straight line, back to front, all facing the same direction, so each man sees just the backs of the men in front of him. The king's soldiers would then put, at random, either a red or black hat on each engineer. The engineer would be able to see all the hats of the men in front of him, but not his own or those of the men behind him.

The king would then start at the back of the line - that is, the engineer who can see the other 49 engineers in front of him - and ask: "is your hat red or black?" The engineer would then answer with one word: either "red" or "black". If he gets it right, he lives. If he gets it wrong, he is immediately executed. Either way, the king moves up the line asking the same question to each engineer in turn. If an engineer says anything other than "red" or "black" or if any of the engineers cheat (try to look at their own hats), all 50 are immediately executed.

Question: what strategy can the engineers come up with to guarantee the maximum number of them survive?


5 hats problem, not going to bother.

If you're bored, here's this:

prove that there are no whole number solutions for the following equation:

x^n+y^n=z^n {n|n>2}

Should keep you busy for a while.
 

brikis98

Diamond Member
Jul 5, 2005
7,253
8
0
Originally posted by: JS80
Originally posted by: brikis98
Originally posted by: MotionMan
Place any N coins into one group and the remaining coins into the other
group.

Flip over over all N coins in the first group.


I don't have a new one, so someone can take my turn.

MotionMan

correct. had you heard this one before, use google or did you actually figure it out?

(personally, this one took me a LONG time to get)

can you explain this i don't even get it

try out some examples.

say initially you had 25 coins, 10 of them tails up. when the lights go off, pick up any 10 and make one stack. take the rest and make a second stack. flip the first stack (of 10) over. What could have happened:

1. All 10 coins that were tails ended up in the first stack. When you flip them, they are all heads up, so now both stacks have 0 coins tails up.
2. All 10 coins that were tails up ended up in the second stack. When you flip the first stack, all 10 of those coins are now tails up as well. You now have 10 tails up coins in each stack.
3. Some combination in between. Say you got 3 coins in the first stack tails up (7 heads up) and the other 7 are in the second stack. When you flip the first stack over, you now have 7 tails up, so both stacks are again equal.

If you work it out, you'll find that MotionMan's strategy works for any starting position where there are exactly N coins tails up.
 

hypn0tik

Diamond Member
Jul 5, 2005
5,866
2
0
Ah, I get it now.

Say you have Y coins, where Y > 10.
You have exactly 10 tails (N = 10)

Split the coins up into two groups. One of size N and the other of size 100-N (so in this case, 10 and 90).

Now, in the group that is N large, you'll have X tails. In the other group, you'll have 10-X tails.
If you flip all the coins in the first group, you'll have 10-X tails. The other group already has 10-X tails, so you're guaranteed to have the same number of tails in both groups.
 

brikis98

Diamond Member
Jul 5, 2005
7,253
8
0
Originally posted by: JS80
Originally posted by: brikis98
To keep this thread going, I'll add one more, but I hope someone else has something for the future:

After losing a battle to his rival, an angry king decided that he would execute the 50 engineers he had in his employment. He marched them out on the field and prepared to execute them, but at the last second, the king felt pity and decided to give them one last chance to live.

The king explained to the engineers that on the following day, the 50 engineers would again be marched out onto a field. They would stand in a straight line, back to front, all facing the same direction, so each man sees just the backs of the men in front of him. The king's soldiers would then put, at random, either a red or black hat on each engineer. The engineer would be able to see all the hats of the men in front of him, but not his own or those of the men behind him.

The king would then start at the back of the line - that is, the engineer who can see the other 49 engineers in front of him - and ask: "is your hat red or black?" The engineer would then answer with one word: either "red" or "black". If he gets it right, he lives. If he gets it wrong, he is immediately executed. Either way, the king moves up the line asking the same question to each engineer in turn. If an engineer says anything other than "red" or "black" or if any of the engineers cheat (try to look at their own hats), all 50 are immediately executed.

Question: what strategy can the engineers come up with to guarantee the maximum number of them survive?

the last person yells out the first, second to last the second, etc. at least half survive?

That would work, but you can do better than half
 

hypn0tik

Diamond Member
Jul 5, 2005
5,866
2
0
Originally posted by: jersiq
Originally posted by: brikis98
To keep this thread going, I'll add one more, but I hope someone else has something for the future:

After losing a battle to his rival, an angry king decided that he would execute the 50 engineers he had in his employment. He marched them out on the field and prepared to execute them, but at the last second, the king felt pity and decided to give them one last chance to live.

The king explained to the engineers that on the following day, the 50 engineers would again be marched out onto a field. They would stand in a straight line, back to front, all facing the same direction, so each man sees just the backs of the men in front of him. The king's soldiers would then put, at random, either a red or black hat on each engineer. The engineer would be able to see all the hats of the men in front of him, but not his own or those of the men behind him.

The king would then start at the back of the line - that is, the engineer who can see the other 49 engineers in front of him - and ask: "is your hat red or black?" The engineer would then answer with one word: either "red" or "black". If he gets it right, he lives. If he gets it wrong, he is immediately executed. Either way, the king moves up the line asking the same question to each engineer in turn. If an engineer says anything other than "red" or "black" or if any of the engineers cheat (try to look at their own hats), all 50 are immediately executed.

Question: what strategy can the engineers come up with to guarantee the maximum number of them survive?


5 hats problem, not going to bother.

If you're bored, here's this:

prove that there are no whole number solutions for the following equation:

x^n+y^n=z^n {n|n>2}

Should keep you busy for a while.

Paging Andrew Wiles...
 

brikis98

Diamond Member
Jul 5, 2005
7,253
8
0
Originally posted by: jersiq
Originally posted by: brikis98
To keep this thread going, I'll add one more, but I hope someone else has something for the future:

After losing a battle to his rival, an angry king decided that he would execute the 50 engineers he had in his employment. He marched them out on the field and prepared to execute them, but at the last second, the king felt pity and decided to give them one last chance to live.

The king explained to the engineers that on the following day, the 50 engineers would again be marched out onto a field. They would stand in a straight line, back to front, all facing the same direction, so each man sees just the backs of the men in front of him. The king's soldiers would then put, at random, either a red or black hat on each engineer. The engineer would be able to see all the hats of the men in front of him, but not his own or those of the men behind him.

The king would then start at the back of the line - that is, the engineer who can see the other 49 engineers in front of him - and ask: "is your hat red or black?" The engineer would then answer with one word: either "red" or "black". If he gets it right, he lives. If he gets it wrong, he is immediately executed. Either way, the king moves up the line asking the same question to each engineer in turn. If an engineer says anything other than "red" or "black" or if any of the engineers cheat (try to look at their own hats), all 50 are immediately executed.

Question: what strategy can the engineers come up with to guarantee the maximum number of them survive?


5 hats problem, not going to bother.

If you're bored, here's this:

prove that there are no whole number solutions for the following equation:

x^n+y^n=z^n {n|n>2}

Should keep you busy for a while.

5 hats problem? What's that?

Oh, and your problem is Fermat's Last Theorem. I think I'll leave that one to the experts
 

JonTom

Senior member
Oct 10, 2001
311
0
0
Originally posted by: JS80
Originally posted by: brikis98
To keep this thread going, I'll add one more, but I hope someone else has something for the future:

After losing a battle to his rival, an angry king decided that he would execute the 50 engineers he had in his employment. He marched them out on the field and prepared to execute them, but at the last second, the king felt pity and decided to give them one last chance to live.

The king explained to the engineers that on the following day, the 50 engineers would again be marched out onto a field. They would stand in a straight line, back to front, all facing the same direction, so each man sees just the backs of the men in front of him. The king's soldiers would then put, at random, either a red or black hat on each engineer. The engineer would be able to see all the hats of the men in front of him, but not his own or those of the men behind him.

The king would then start at the back of the line - that is, the engineer who can see the other 49 engineers in front of him - and ask: "is your hat red or black?" The engineer would then answer with one word: either "red" or "black". If he gets it right, he lives. If he gets it wrong, he is immediately executed. Either way, the king moves up the line asking the same question to each engineer in turn. If an engineer says anything other than "red" or "black" or if any of the engineers cheat (try to look at their own hats), all 50 are immediately executed.

Question: what strategy can the engineers come up with to guarantee the maximum number of them survive?

the last person yells out the first, second to last the second, etc. at least half survive?

heh, so close
 

Aikouka

Lifer
Nov 27, 2001
30,383
912
126
Originally posted by: brikis98
I believe in MotionMan's answer, he means that N = 10, or whatever number was initially tails up...

Yeah, I see it now. I was not thinking 4th dimensionally!

As for anyone else that asked, if you take 100 coins and put 10 (N) in one stack and 90 in another. You will have 10-X number of tails up coins. Say you have 3. The other stack must then have the rest of these. So in this example, it has 7. If you flip over the first stack, it will change from 7H 3T to 7T 3H which will now match the 7T 83H that is in the other stack.

As for the other one, if you say... poke someone in the back if he's wearing red or don't if he's wearing black... does that constitute cheating?
 

brikis98

Diamond Member
Jul 5, 2005
7,253
8
0
Originally posted by: Aikouka
As for the other one, if you say... poke someone in the back if he's wearing red or don't if he's wearing black... does that constitute cheating?

yes. doing ANYTHING other than answering red or black when called is cheating, and everyone gets executed.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |