• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:09
CEST 18:09
KST 01:09
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Code S RO4 & Finals Preview: herO, GuMiho, Classic, Cure4Code S RO8 Preview: Classic, Reynor, Maru, GuMiho2Code S RO8 Preview: ByuN, Rogue, herO, Cure5[ASL19] Ro4 Preview: Storied Rivals7Code S RO12 Preview: Maru, Trigger, Rogue, NightMare12
Community News
Code S Season 1 - RO8 Group B Results (2025)4[BSL 2v2] ProLeague Season 3 - Friday 21:00 CET6herO & Cure GSL RO8 Interviews: "I also think that all the practice I put in when Protoss wasn’t doing as well is paying off"0Code S Season 1 - herO & Cure advance to RO4 (2025)0Dark to begin military service on May 13th (2025)21
StarCraft 2
General
Code S RO8 Preview: ByuN, Rogue, herO, Cure Is there a place to provide feedback for maps? Code S Season 1 - RO8 Group B Results (2025) 2024/25 Off-Season Roster Moves Code S RO4 & Finals Preview: herO, GuMiho, Classic, Cure
Tourneys
RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S Season 1 - RO4 and Grand Finals [GSL 2025] Code S:Season 1 - RO8 - Group B SOOP Starcraft Global #20 SEL Code A [MMR-capped] (SC: Evo)
Strategy
Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 473 Cold is the Void Mutation # 472 Dead Heat Mutation # 471 Delivery Guaranteed Mutation # 470 Certain Demise
Brood War
General
BGH auto balance -> http://bghmmr.eu/ BW General Discussion ASL 19 Tickets for foreigners Recent recommended BW games Battlenet Game Lobby Simulator
Tourneys
[ASL19] Semifinal B [USBL Spring 2025] Groups cast [ASL19] Semifinal A [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET
Strategy
[G] How to get started on ladder as a new Z player Creating a full chart of Zerg builds [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Grand Theft Auto VI Nintendo Switch Thread What do you want from future RTS games?
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
UK Politics Mega-thread Russo-Ukrainian War Thread US Politics Mega-thread Elon Musk's lies, propaganda, etc. Ask and answer stupid questions here!
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [Books] Wool by Hugh Howey
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NHL Playoffs 2024 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
The Automated Ban List TL.net Ten Commandments
Blogs
Why 5v5 Games Keep Us Hooked…
TrAiDoS
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
WombaT’s Old BW Terran Theme …
WombaT
Heero Yuy & the Tax…
KrillinFromwales
BW PvZ Balance hypothetic…
Vasoline73
ASL S19 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 20825 users

[SFW] Riddles / Puzzles / Brain Teasers - Page 34

Forum Index > General Forum
Post a Reply
Prev 1 32 33 34 35 36 38 Next All
CptZouglou
Profile Joined November 2011
France146 Posts
November 29 2012 19:05 GMT
#661
On November 30 2012 03:46 betaflame wrote:
There are 3 people who were taken hostage. Their captors bury them each into the ground with only their head sticking out, in a line (column), so that all of them were facing in the same direction (They can't turn their head to look back). The captors then took out 4 bandanas, 2 black, 2 white and said to the hostages that they would put on one of the bandanas onto each hostage's head. If the hostage guesses what colour of bandana is on their head, they will be freed and the rest will be killed. Which hostage got out?


Hint:
+ Show Spoiler +
Front person can see nothing, 2nd person can see first person, 3rd person can see everyone.


Solution:
+ Show Spoiler +
The 2nd person. He can see the first person and since the 3rd person hasn't called out yet, he knows that he must have a different bandana than the first person.

We already had this one with gnomes !

Here's another then, almost like the indians one:
7 gnomes, each one will be given a magic, colored hat (any color out of 7 different colors) . The gnomes can see all the other hats, but not theirs (gnomes are very smart, but god they have trouble taking off their hats). All the gnomes secretly write down a color on a paper, and if at least one found out his hat color, all the gnomes are freed. Is there a way to ensure that all gnomes are saved ?

Some info as always
- The gnomes can discuss strategy before getting their hats
- The gnomes cannot communicate after
- Gnomes are smart
TanGeng
Profile Blog Joined January 2009
Sanya12364 Posts
November 29 2012 19:15 GMT
#662
On November 30 2012 03:46 betaflame wrote:
There are 3 people who were taken hostage. Their captors bury them each into the ground with only their head sticking out, in a line (column), so that all of them were facing in the same direction (They can't turn their head to look back). The captors then took out 4 bandanas, 2 black, 2 white and said to the hostages that they would put on one of the bandanas onto each hostage's head. If the hostage guesses what colour of bandana is on their head, they will be freed and the rest will be killed. Which hostage got out?


Hint:
+ Show Spoiler +
Front person can see nothing, 2nd person can see first person, 3rd person can see everyone.


Solution:
+ Show Spoiler +
The 2nd person. He can see the first person and since the 3rd person hasn't called out yet, he knows that he must have a different bandana than the first person.


What's the downside to guessing wrong?
The way I see it, the first person guesses immediately on receiving a bandana. As the person with no information and a flat 50% chance, the first person must take that chance before the other two hostages use their information advantage to reach a conclusion.
Moderator我们是个踏实的赞助商模式俱乐部
Geiko
Profile Blog Joined June 2010
France1939 Posts
November 29 2012 19:21 GMT
#663
On November 30 2012 04:05 CptZouglou wrote:
Show nested quote +
On November 30 2012 03:46 betaflame wrote:
There are 3 people who were taken hostage. Their captors bury them each into the ground with only their head sticking out, in a line (column), so that all of them were facing in the same direction (They can't turn their head to look back). The captors then took out 4 bandanas, 2 black, 2 white and said to the hostages that they would put on one of the bandanas onto each hostage's head. If the hostage guesses what colour of bandana is on their head, they will be freed and the rest will be killed. Which hostage got out?


Hint:
+ Show Spoiler +
Front person can see nothing, 2nd person can see first person, 3rd person can see everyone.


Solution:
+ Show Spoiler +
The 2nd person. He can see the first person and since the 3rd person hasn't called out yet, he knows that he must have a different bandana than the first person.

We already had this one with gnomes !

Here's another then, almost like the indians one:
7 gnomes, each one will be given a magic, colored hat (any color out of 7 different colors) . The gnomes can see all the other hats, but not theirs (gnomes are very smart, but god they have trouble taking off their hats). All the gnomes secretly write down a color on a paper, and if at least one found out his hat color, all the gnomes are freed. Is there a way to ensure that all gnomes are saved ?

Some info as always
- The gnomes can discuss strategy before getting their hats
- The gnomes cannot communicate after
- Gnomes are smart

+ Show Spoiler +

Gnomes assign numbers from 0 to 6 to colors. Each gnome is assigned a different number from 0 to 6. Gnomes guess their hat color by assuming that the sum of all hats is equal to their number (mod 7) so at least one of them gets it right.

geiko.813 (EU)
CptZouglou
Profile Joined November 2011
France146 Posts
November 29 2012 19:29 GMT
#664
On November 30 2012 04:21 Geiko wrote:
Show nested quote +
On November 30 2012 04:05 CptZouglou wrote:
On November 30 2012 03:46 betaflame wrote:
There are 3 people who were taken hostage. Their captors bury them each into the ground with only their head sticking out, in a line (column), so that all of them were facing in the same direction (They can't turn their head to look back). The captors then took out 4 bandanas, 2 black, 2 white and said to the hostages that they would put on one of the bandanas onto each hostage's head. If the hostage guesses what colour of bandana is on their head, they will be freed and the rest will be killed. Which hostage got out?


Hint:
+ Show Spoiler +
Front person can see nothing, 2nd person can see first person, 3rd person can see everyone.


Solution:
+ Show Spoiler +
The 2nd person. He can see the first person and since the 3rd person hasn't called out yet, he knows that he must have a different bandana than the first person.

We already had this one with gnomes !

Here's another then, almost like the indians one:
7 gnomes, each one will be given a magic, colored hat (any color out of 7 different colors) . The gnomes can see all the other hats, but not theirs (gnomes are very smart, but god they have trouble taking off their hats). All the gnomes secretly write down a color on a paper, and if at least one found out his hat color, all the gnomes are freed. Is there a way to ensure that all gnomes are saved ?

Some info as always
- The gnomes can discuss strategy before getting their hats
- The gnomes cannot communicate after
- Gnomes are smart

+ Show Spoiler +

Gnomes assign numbers from 0 to 6 to colors. Each gnome is assigned a different number from 0 to 6. Gnomes guess their hat color by assuming that the sum of all hats is equal to their number (mod 7) so at least one of them gets it right.


Nice and clean answer!
CptZouglou
Profile Joined November 2011
France146 Posts
November 29 2012 19:39 GMT
#665
I don't know if this one has been posted already, but I like it. Instead of writing it myself, I found it on the internet so that it's better written.
You have 12 balls identical in size and appearance but 1 is an odd weight (could be either light or heavy).

You have a set scales (balance) which will give 3 possible readings: Left = Right, Left > Right or Left < Right (ie Left and Right have equal weight, Left is Heavier, or Left is Lighter).

You have only 3 chances to weigh the balls in any combination using the scales. Determine which ball is the odd one and if it's heavier or lighter than the rest. How do you do it?
AmericanUmlaut
Profile Blog Joined November 2010
Germany2576 Posts
November 29 2012 20:05 GMT
#666
On November 30 2012 04:29 CptZouglou wrote:
Show nested quote +
On November 30 2012 04:21 Geiko wrote:
On November 30 2012 04:05 CptZouglou wrote:
On November 30 2012 03:46 betaflame wrote:
There are 3 people who were taken hostage. Their captors bury them each into the ground with only their head sticking out, in a line (column), so that all of them were facing in the same direction (They can't turn their head to look back). The captors then took out 4 bandanas, 2 black, 2 white and said to the hostages that they would put on one of the bandanas onto each hostage's head. If the hostage guesses what colour of bandana is on their head, they will be freed and the rest will be killed. Which hostage got out?


Hint:
+ Show Spoiler +
Front person can see nothing, 2nd person can see first person, 3rd person can see everyone.


Solution:
+ Show Spoiler +
The 2nd person. He can see the first person and since the 3rd person hasn't called out yet, he knows that he must have a different bandana than the first person.

We already had this one with gnomes !

Here's another then, almost like the indians one:
7 gnomes, each one will be given a magic, colored hat (any color out of 7 different colors) . The gnomes can see all the other hats, but not theirs (gnomes are very smart, but god they have trouble taking off their hats). All the gnomes secretly write down a color on a paper, and if at least one found out his hat color, all the gnomes are freed. Is there a way to ensure that all gnomes are saved ?

Some info as always
- The gnomes can discuss strategy before getting their hats
- The gnomes cannot communicate after
- Gnomes are smart

+ Show Spoiler +

Gnomes assign numbers from 0 to 6 to colors. Each gnome is assigned a different number from 0 to 6. Gnomes guess their hat color by assuming that the sum of all hats is equal to their number (mod 7) so at least one of them gets it right.


Nice and clean answer!

I understand the answer, but I don't understand how it saves the gnomes.

+ Show Spoiler +

If the gnomes already know which seven colors are present, then each gnome can deduce the answer trivially; they can see the other six colors, so they have the color they don't see. If they just know that some arbitrary seven colors are used, then they have no way of assigning the available colors to numbers in order for Geiko's solution to be applied.

What am I missing?
The frumious Bandersnatch
CptZouglou
Profile Joined November 2011
France146 Posts
November 29 2012 20:14 GMT
#667
On November 30 2012 05:05 AmericanUmlaut wrote:
Show nested quote +
On November 30 2012 04:29 CptZouglou wrote:
On November 30 2012 04:21 Geiko wrote:
On November 30 2012 04:05 CptZouglou wrote:
On November 30 2012 03:46 betaflame wrote:
There are 3 people who were taken hostage. Their captors bury them each into the ground with only their head sticking out, in a line (column), so that all of them were facing in the same direction (They can't turn their head to look back). The captors then took out 4 bandanas, 2 black, 2 white and said to the hostages that they would put on one of the bandanas onto each hostage's head. If the hostage guesses what colour of bandana is on their head, they will be freed and the rest will be killed. Which hostage got out?


Hint:
+ Show Spoiler +
Front person can see nothing, 2nd person can see first person, 3rd person can see everyone.


Solution:
+ Show Spoiler +
The 2nd person. He can see the first person and since the 3rd person hasn't called out yet, he knows that he must have a different bandana than the first person.

We already had this one with gnomes !

Here's another then, almost like the indians one:
7 gnomes, each one will be given a magic, colored hat (any color out of 7 different colors) . The gnomes can see all the other hats, but not theirs (gnomes are very smart, but god they have trouble taking off their hats). All the gnomes secretly write down a color on a paper, and if at least one found out his hat color, all the gnomes are freed. Is there a way to ensure that all gnomes are saved ?

Some info as always
- The gnomes can discuss strategy before getting their hats
- The gnomes cannot communicate after
- Gnomes are smart

+ Show Spoiler +

Gnomes assign numbers from 0 to 6 to colors. Each gnome is assigned a different number from 0 to 6. Gnomes guess their hat color by assuming that the sum of all hats is equal to their number (mod 7) so at least one of them gets it right.


Nice and clean answer!

I understand the answer, but I don't understand how it saves the gnomes.

+ Show Spoiler +

If the gnomes already know which seven colors are present, then each gnome can deduce the answer trivially; they can see the other six colors, so they have the color they don't see. If they just know that some arbitrary seven colors are used, then they have no way of assigning the available colors to numbers in order for Geiko's solution to be applied.

What am I missing?


The colors could be anything (there could be 3 red, 4 blue for instance), they have no information on the color distribution. But to save all the gnomes, only one good answer is required.
AmericanUmlaut
Profile Blog Joined November 2010
Germany2576 Posts
Last Edited: 2012-11-29 22:01:19
November 29 2012 21:52 GMT
#668
On November 30 2012 05:14 CptZouglou wrote:
Show nested quote +
On November 30 2012 05:05 AmericanUmlaut wrote:
On November 30 2012 04:29 CptZouglou wrote:
On November 30 2012 04:21 Geiko wrote:
On November 30 2012 04:05 CptZouglou wrote:
On November 30 2012 03:46 betaflame wrote:
There are 3 people who were taken hostage. Their captors bury them each into the ground with only their head sticking out, in a line (column), so that all of them were facing in the same direction (They can't turn their head to look back). The captors then took out 4 bandanas, 2 black, 2 white and said to the hostages that they would put on one of the bandanas onto each hostage's head. If the hostage guesses what colour of bandana is on their head, they will be freed and the rest will be killed. Which hostage got out?


Hint:
+ Show Spoiler +
Front person can see nothing, 2nd person can see first person, 3rd person can see everyone.


Solution:
+ Show Spoiler +
The 2nd person. He can see the first person and since the 3rd person hasn't called out yet, he knows that he must have a different bandana than the first person.

We already had this one with gnomes !

Here's another then, almost like the indians one:
7 gnomes, each one will be given a magic, colored hat (any color out of 7 different colors) . The gnomes can see all the other hats, but not theirs (gnomes are very smart, but god they have trouble taking off their hats). All the gnomes secretly write down a color on a paper, and if at least one found out his hat color, all the gnomes are freed. Is there a way to ensure that all gnomes are saved ?

Some info as always
- The gnomes can discuss strategy before getting their hats
- The gnomes cannot communicate after
- Gnomes are smart

+ Show Spoiler +

Gnomes assign numbers from 0 to 6 to colors. Each gnome is assigned a different number from 0 to 6. Gnomes guess their hat color by assuming that the sum of all hats is equal to their number (mod 7) so at least one of them gets it right.


Nice and clean answer!

I understand the answer, but I don't understand how it saves the gnomes.

+ Show Spoiler +

If the gnomes already know which seven colors are present, then each gnome can deduce the answer trivially; they can see the other six colors, so they have the color they don't see. If they just know that some arbitrary seven colors are used, then they have no way of assigning the available colors to numbers in order for Geiko's solution to be applied.

What am I missing?


The colors could be anything (there could be 3 red, 4 blue for instance), they have no information on the color distribution. But to save all the gnomes, only one good answer is required.

So the gnomes meet, and they decide on the following codes:

0 - red
1 - blue
2 - green
3 - yellow
4 - black
5 - white

Now I'm a gnome, and I look around at my six buddies. I see two orange hats, one pink, one grey, and two purple. What do I answer?

Edit: Wait, I get it. The "out of seven different colors" in the question is meant to imply that the gnomes know the set of available colors. I withdraw my objection.
The frumious Bandersnatch
TheJizWiz
Profile Joined June 2010
8 Posts
November 29 2012 22:26 GMT
#669
On November 30 2012 04:05 CptZouglou wrote:
Here's another then, almost like the indians one:
7 gnomes, each one will be given a magic, colored hat (any color out of 7 different colors) . The gnomes can see all the other hats, but not theirs (gnomes are very smart, but god they have trouble taking off their hats). All the gnomes secretly write down a color on a paper, and if at least one found out his hat color, all the gnomes are freed. Is there a way to ensure that all gnomes are saved ?

Some info as always
- The gnomes can discuss strategy before getting their hats
- The gnomes cannot communicate after
- Gnomes are smart


The Gnomes could just decide to write the color of one specific gnomes hat, before they get their hats. So they would have 6 times the color of his hat writen down and he just says that color.
-> one gnome knows his hatcolor

And if every gnome needs to know the color of his hat to be freed they could number themselfs 1-7 and decide that gnome 1 writes the color of gnome 2's hat (2->3, 3->4, ...). Therefore they would have every hatcolor writen down and every gnome just needs to sort out the colors that he sees and the one that is left is the color of his hat.
-> every gnome knows his hatcolor
starfries
Profile Blog Joined July 2009
Canada3508 Posts
Last Edited: 2012-11-30 08:37:39
November 30 2012 08:33 GMT
#670
On November 30 2012 02:07 frogrubdown wrote:
Show nested quote +
On November 30 2012 00:05 Sienionelain wrote:
A similar to the indian one:
An infinite amount of gnomes are set to a line and after that either a black or a white hat is put on top of them. Gnomes must guess the color of their hat. Every gnome sees the hats which are before him, but not his own hat or the hats of the gnomes behind him.

What is the strategy with which an infinite amount of gnomes answer right?
What is the strategy with which a finite number of gnomes answer wrong?

Rules are almost similar to the indian riddle:
-no communicating in the line (they can discuss the strategy beforehand)
-every gnome answers at the same time !
-gnomes are smart



solution:

+ Show Spoiler +
Define equivalence classes of infinte sequence of black white patterns based on the equivalence relation of only differing in finitely many points in the sequence (it's trivial to show this relation is an equivalence one, might give a proof when not using iphone). Every gnome can see which equivalence class the set of all gnomes is in when they look at the remaining gnomes ahead of them. For each equivalence class, they agree ahead of time to all say the given color for their position from some single member of that class. This guarantees only finite deaths, because the actual sequence cannot differ from their selcted one by more than finitely many places.

Edit: by the way, the reason the equivalence relation thing is important is because equivalnce relations partition sets. The proof of this is also trivial.

+ Show Spoiler +
Is being able to see the hats in front enough to determine which equivalence class the set of all gnomes belongs to? Couldn't you have two sets which don't differ in front of one gnome but differ at an infinite number of points behind and are therefore in different classes?


A relatively easy puzzle (I don't remember the exact wording so I'll paraphrase)
Two pirates are captured and kept in separate cells with no communication between them. Every day, two coins are flipped - one in front of each pirate, where he can see it land but not influence it. Each pirate then states their guess for the other pirate's coin. If they're both wrong, they're put to death. How long will they last on average?

edit: they had a chance to discuss strategy before they were captured just in case something like this happened, and both pirates are smart
DJ – do you like ramen, Savior? Savior – not really. Bisu – I eat it often. Flash – I’m a maniac! | Foxer Fighting!
rangi
Profile Blog Joined August 2010
New Zealand24 Posts
November 30 2012 09:52 GMT
#671
On November 30 2012 04:39 CptZouglou wrote:
I don't know if this one has been posted already, but I like it. Instead of writing it myself, I found it on the internet so that it's better written.
Show nested quote +
You have 12 balls identical in size and appearance but 1 is an odd weight (could be either light or heavy).

You have a set scales (balance) which will give 3 possible readings: Left = Right, Left > Right or Left < Right (ie Left and Right have equal weight, Left is Heavier, or Left is Lighter).

You have only 3 chances to weigh the balls in any combination using the scales. Determine which ball is the odd one and if it's heavier or lighter than the rest. How do you do it?



+ Show Spoiler +
This can only be solved if you know the odd ball is lighter or heavier.

Lets say its heavier.

1st weigh: weigh 4 balls against 4 balls. If one set of 4 balls is heavier, the heavy ball is in that group. If scales are equal, heavy ball is in the leftover group of 4.

2nd weigh: From the 4 ball group which includes the heavy ball, weigh 1 ball against 1 ball. If 1 ball is heavier, its that ball. Game over. If scales are equal, the heavy ball is one of the two remaining balls.

3rd weigh: weigh the two remaining balls to find the heavier one. Game over.
This too shall pass
CptZouglou
Profile Joined November 2011
France146 Posts
November 30 2012 10:12 GMT
#672
On November 30 2012 18:52 rangi wrote:
Show nested quote +
On November 30 2012 04:39 CptZouglou wrote:
I don't know if this one has been posted already, but I like it. Instead of writing it myself, I found it on the internet so that it's better written.
You have 12 balls identical in size and appearance but 1 is an odd weight (could be either light or heavy).

You have a set scales (balance) which will give 3 possible readings: Left = Right, Left > Right or Left < Right (ie Left and Right have equal weight, Left is Heavier, or Left is Lighter).

You have only 3 chances to weigh the balls in any combination using the scales. Determine which ball is the odd one and if it's heavier or lighter than the rest. How do you do it?



+ Show Spoiler +
This can only be solved if you know the odd ball is lighter or heavier.

Lets say its heavier.

1st weigh: weigh 4 balls against 4 balls. If one set of 4 balls is heavier, the heavy ball is in that group. If scales are equal, heavy ball is in the leftover group of 4.

2nd weigh: From the 4 ball group which includes the heavy ball, weigh 1 ball against 1 ball. If 1 ball is heavier, its that ball. Game over. If scales are equal, the heavy ball is one of the two remaining balls.

3rd weigh: weigh the two remaining balls to find the heavier one. Game over.

No ! There's a way to find the odd ball and determine if it's lighter or heavier, but it's not trivial !
Oshuy
Profile Joined September 2011
Netherlands529 Posts
November 30 2012 10:37 GMT
#673
On November 30 2012 17:33 starfries wrote:
Show nested quote +
On November 30 2012 02:07 frogrubdown wrote:
On November 30 2012 00:05 Sienionelain wrote:
A similar to the indian one:
An infinite amount of gnomes are set to a line and after that either a black or a white hat is put on top of them. Gnomes must guess the color of their hat. Every gnome sees the hats which are before him, but not his own hat or the hats of the gnomes behind him.

What is the strategy with which an infinite amount of gnomes answer right?
What is the strategy with which a finite number of gnomes answer wrong?

Rules are almost similar to the indian riddle:
-no communicating in the line (they can discuss the strategy beforehand)
-every gnome answers at the same time !
-gnomes are smart



solution:

+ Show Spoiler +
Define equivalence classes of infinte sequence of black white patterns based on the equivalence relation of only differing in finitely many points in the sequence (it's trivial to show this relation is an equivalence one, might give a proof when not using iphone). Every gnome can see which equivalence class the set of all gnomes is in when they look at the remaining gnomes ahead of them. For each equivalence class, they agree ahead of time to all say the given color for their position from some single member of that class. This guarantees only finite deaths, because the actual sequence cannot differ from their selcted one by more than finitely many places.

Edit: by the way, the reason the equivalence relation thing is important is because equivalnce relations partition sets. The proof of this is also trivial.

+ Show Spoiler +
Is being able to see the hats in front enough to determine which equivalence class the set of all gnomes belongs to? Couldn't you have two sets which don't differ in front of one gnome but differ at an infinite number of points behind and are therefore in different classes?


+ Show Spoiler +
Solution supposes you work in N and not Z (gnome line has a start), therefore there is always a finite number of gnomes behind the one answering.


A relatively easy puzzle (I don't remember the exact wording so I'll paraphrase)
Two pirates are captured and kept in separate cells with no communication between them. Every day, two coins are flipped - one in front of each pirate, where he can see it land but not influence it. Each pirate then states their guess for the other pirate's coin. If they're both wrong, they're put to death. How long will they last on average?

edit: they had a chance to discuss strategy before they were captured just in case something like this happened, and both pirates are smart


If both answer at the same time, basically 1/4 of both wrong at each try and an average survival would be of 3 days ? Once again if there is no communication it's answering on random independant events, which doesn't leave much room for strategy ...
Coooot
starfries
Profile Blog Joined July 2009
Canada3508 Posts
Last Edited: 2012-11-30 11:27:20
November 30 2012 11:25 GMT
#674
On November 30 2012 19:37 Oshuy wrote:
Show nested quote +
On November 30 2012 17:33 starfries wrote:
On November 30 2012 02:07 frogrubdown wrote:
On November 30 2012 00:05 Sienionelain wrote:
A similar to the indian one:
An infinite amount of gnomes are set to a line and after that either a black or a white hat is put on top of them. Gnomes must guess the color of their hat. Every gnome sees the hats which are before him, but not his own hat or the hats of the gnomes behind him.

What is the strategy with which an infinite amount of gnomes answer right?
What is the strategy with which a finite number of gnomes answer wrong?

Rules are almost similar to the indian riddle:
-no communicating in the line (they can discuss the strategy beforehand)
-every gnome answers at the same time !
-gnomes are smart



solution:

+ Show Spoiler +
Define equivalence classes of infinte sequence of black white patterns based on the equivalence relation of only differing in finitely many points in the sequence (it's trivial to show this relation is an equivalence one, might give a proof when not using iphone). Every gnome can see which equivalence class the set of all gnomes is in when they look at the remaining gnomes ahead of them. For each equivalence class, they agree ahead of time to all say the given color for their position from some single member of that class. This guarantees only finite deaths, because the actual sequence cannot differ from their selcted one by more than finitely many places.

Edit: by the way, the reason the equivalence relation thing is important is because equivalnce relations partition sets. The proof of this is also trivial.

+ Show Spoiler +
Is being able to see the hats in front enough to determine which equivalence class the set of all gnomes belongs to? Couldn't you have two sets which don't differ in front of one gnome but differ at an infinite number of points behind and are therefore in different classes?


+ Show Spoiler +
Solution supposes you work in N and not Z (gnome line has a start), therefore there is always a finite number of gnomes behind the one answering.


Oh, that explains it. I wonder if it's unsolvable in Z then?


If both answer at the same time, basically 1/4 of both wrong at each try and an average survival would be of 3 days ? Once again if there is no communication it's answering on random independant events, which doesn't leave much room for strategy ...

There is a way to do better than chance ^.^


Actually, while I was looking for where I first saw this problem I found another nice one (credit goes to mindyourdecisions.com). Hopefully it hasn't been posted, there are a lot of hat riddles here...

Three gnomes are in a room and a red or blue hat (with equal probability) is placed on each one's head. They must simultaneously either guess the colour of their hat or pass. There is only one round. The gnomes win if at least one gnome guesses correctly and no one guesses incorrectly. What's the best strategy?

standard stuff about gnomes being smart and having planning time applies

Hint:
+ Show Spoiler +
AFAIK the best you can do is a 75% chance of winning. It gets veeery interesting with larger numbers of players.
DJ – do you like ramen, Savior? Savior – not really. Bisu – I eat it often. Flash – I’m a maniac! | Foxer Fighting!
CptZouglou
Profile Joined November 2011
France146 Posts
November 30 2012 15:08 GMT
#675
On November 30 2012 17:33 starfries wrote:
Show nested quote +
On November 30 2012 02:07 frogrubdown wrote:
On November 30 2012 00:05 Sienionelain wrote:
A similar to the indian one:
An infinite amount of gnomes are set to a line and after that either a black or a white hat is put on top of them. Gnomes must guess the color of their hat. Every gnome sees the hats which are before him, but not his own hat or the hats of the gnomes behind him.

What is the strategy with which an infinite amount of gnomes answer right?
What is the strategy with which a finite number of gnomes answer wrong?

Rules are almost similar to the indian riddle:
-no communicating in the line (they can discuss the strategy beforehand)
-every gnome answers at the same time !
-gnomes are smart



solution:

+ Show Spoiler +
Define equivalence classes of infinte sequence of black white patterns based on the equivalence relation of only differing in finitely many points in the sequence (it's trivial to show this relation is an equivalence one, might give a proof when not using iphone). Every gnome can see which equivalence class the set of all gnomes is in when they look at the remaining gnomes ahead of them. For each equivalence class, they agree ahead of time to all say the given color for their position from some single member of that class. This guarantees only finite deaths, because the actual sequence cannot differ from their selcted one by more than finitely many places.

Edit: by the way, the reason the equivalence relation thing is important is because equivalnce relations partition sets. The proof of this is also trivial.

+ Show Spoiler +
Is being able to see the hats in front enough to determine which equivalence class the set of all gnomes belongs to? Couldn't you have two sets which don't differ in front of one gnome but differ at an infinite number of points behind and are therefore in different classes?


A relatively easy puzzle (I don't remember the exact wording so I'll paraphrase)
Two pirates are captured and kept in separate cells with no communication between them. Every day, two coins are flipped - one in front of each pirate, where he can see it land but not influence it. Each pirate then states their guess for the other pirate's coin. If they're both wrong, they're put to death. How long will they last on average?

edit: they had a chance to discuss strategy before they were captured just in case something like this happened, and both pirates are smart

Is the guess simultaneous ?
Arachne
Profile Blog Joined December 2010
South Africa426 Posts
Last Edited: 2012-11-30 15:52:02
November 30 2012 15:51 GMT
#676
On April 18 2012 23:44 Ghanburighan wrote:
[image loading]

+ Show Spoiler [Hint] +
Count something


+ Show Spoiler [solution] +
Count the number of circles in the numbers, for example 8 has two.



And now for something completely different

+ Show Spoiler +
haha took me ten minutes I think. I counted the number of non-prime factors of each number in each series, and added that up., In the case where there were no non-prime factors and a zero, increased the count by 1 for each zero (There were two numbers). Still worked


^^
If I were a rich man, I wouldn't be here
Oshuy
Profile Joined September 2011
Netherlands529 Posts
Last Edited: 2012-11-30 17:15:46
November 30 2012 15:59 GMT
#677
Show nested quote +

If both answer at the same time, basically 1/4 of both wrong at each try and an average survival would be of 3 days ? Once again if there is no communication it's answering on random independant events, which doesn't leave much room for strategy ...

There is a way to do better than chance ^.^


With 3 pirates and seeing the 2 others, its trivial (identical to gnomes bellow), still have trouble with only 2.


Three gnomes are in a room and a red or blue hat (with equal probability) is placed on each one's head. They must simultaneously either guess the colour of their hat or pass. There is only one round. The gnomes win if at least one gnome guesses correctly and no one guesses incorrectly. What's the best strategy?

standard stuff about gnomes being smart and having planning time applies

Hint:
+ Show Spoiler +
AFAIK the best you can do is a 75% chance of winning. It gets veeery interesting with larger numbers of players.


Haven't seen the gnome version. A few similar ones generated a bit of traffic a while back ^^
+ Show Spoiler +
Name opposite color if I see 2 hats of the same color, pass if 2 different
Coooot
Ludwigvan
Profile Blog Joined April 2010
Germany2371 Posts
November 30 2012 16:07 GMT
#678
On December 01 2012 00:51 Arachne wrote:
Show nested quote +
On April 18 2012 23:44 Ghanburighan wrote:
[image loading]

+ Show Spoiler [Hint] +
Count something


+ Show Spoiler [solution] +
Count the number of circles in the numbers, for example 8 has two.



And now for something completely different

+ Show Spoiler +
haha took me ten minutes I think. I counted the number of non-prime factors of each number in each series, and added that up., In the case where there were no non-prime factors and a zero, increased the count by 1 for each zero (There were two numbers). Still worked


^^

I had to use the hint to solve it. XD
Twinmold
Profile Joined June 2010
Sweden238 Posts
Last Edited: 2012-11-30 16:40:30
November 30 2012 16:29 GMT
#679
On November 30 2012 19:12 CptZouglou wrote:
Show nested quote +
On November 30 2012 18:52 rangi wrote:
On November 30 2012 04:39 CptZouglou wrote:
I don't know if this one has been posted already, but I like it. Instead of writing it myself, I found it on the internet so that it's better written.
You have 12 balls identical in size and appearance but 1 is an odd weight (could be either light or heavy).

You have a set scales (balance) which will give 3 possible readings: Left = Right, Left > Right or Left < Right (ie Left and Right have equal weight, Left is Heavier, or Left is Lighter).

You have only 3 chances to weigh the balls in any combination using the scales. Determine which ball is the odd one and if it's heavier or lighter than the rest. How do you do it?



+ Show Spoiler +
This can only be solved if you know the odd ball is lighter or heavier.

Lets say its heavier.

1st weigh: weigh 4 balls against 4 balls. If one set of 4 balls is heavier, the heavy ball is in that group. If scales are equal, heavy ball is in the leftover group of 4.

2nd weigh: From the 4 ball group which includes the heavy ball, weigh 1 ball against 1 ball. If 1 ball is heavier, its that ball. Game over. If scales are equal, the heavy ball is one of the two remaining balls.

3rd weigh: weigh the two remaining balls to find the heavier one. Game over.

No ! There's a way to find the odd ball and determine if it's lighter or heavier, but it's not trivial !

Solution:

+ Show Spoiler +
Split the twelve balls into three piles of four. You weigh two of the three piles with each other. Now their are two different progressions depending on the result.

If they're equal you weigh three of the now known balls with three of the unknown ones. If the scales are equal then the ball is the last remaining and you need to weigh it with a known ball in order to determine if it's heavier or lighter. If the scales are unequal then you swap a ball with one from the other side and then remove a different ball from each side, you then weigh the scales one last time, if a different side is now heavier than the odd is the unknown ball you swapped, if the sides are now equal than it's the removed ball, otherwise it's the unknown ball you didn't do anything to. In order to determine whether it was lighter or heavier than the rest of the balls you simply need to check which side of the uneven scales it was on.

If they're unequal you swap three of the balls with the other side (the third by adding one of the balls you know isn't odd) and remove three balls (the third is once again substituted with a known ball). Then you weigh the two sides again, if a different side is now heavier than the odd ball is one of the balls you swapped, if the sides are now equal than it's among the removed balls, otherwise it's one of the two remaining unknown balls. After that you replace one of the balls and swap it with one of the others and weigh it a final time. If the scales are equal the odd ball was the replaced one, if a different side is now heavier the odd ball was the swapped one. If nothing happened with the weight distribution the odd ball was the one remaining unknown ball you didn't do anything to. In order to determine whether it was lighter or heavier than the rest of the balls you simply need to check which side of the uneven scales it was on.

SC / LoL / DotA // Twinmold took a moment for himself. He never gave it back.
ZapRoffo
Profile Blog Joined April 2010
United States5544 Posts
November 30 2012 16:49 GMT
#680
On December 01 2012 00:51 Arachne wrote:
Show nested quote +
On April 18 2012 23:44 Ghanburighan wrote:
[image loading]

+ Show Spoiler [Hint] +
Count something


+ Show Spoiler [solution] +
Count the number of circles in the numbers, for example 8 has two.



And now for something completely different

+ Show Spoiler +
haha took me ten minutes I think. I counted the number of non-prime factors of each number in each series, and added that up., In the case where there were no non-prime factors and a zero, increased the count by 1 for each zero (There were two numbers). Still worked


^^


That is a funny coincidence, that + Show Spoiler +
the number of non-prime factors for every digit is equal to the number of enclosed spaces they have, other than zero which is a special case anyway cause it doesn't have factors. Well in writing 2's and 4's sometimes are written differently though.
Yeah, well, you know, that's just like, your opinion man
Prev 1 32 33 34 35 36 38 Next All
Please log in or register to reply.
Live Events Refresh
Anonymous
16:00
KotH
CranKy Ducklings57
MindelVK26
Liquipedia
SOOP Global
15:00
#20
Spirit vs SKillousLIVE!
YoungYakov vs ShoWTimE
LaughNgamezSOOP
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
MindelVK 26
IndyStarCraft 0
StarCraft: Brood War
Soulkey 720
Stork 713
Hyun 124
Barracks 101
Nal_rA 100
Rock 42
zelot 37
ToSsGirL 37
Terrorterran 31
HiyA 21
[ Show more ]
ivOry 9
Dota 2
Gorgc7122
qojqva3359
boxi98329
League of Legends
JimRising 372
Counter-Strike
fl0m3235
Stewie2K317
flusha78
Super Smash Bros
Mew2King118
Heroes of the Storm
Liquid`Hasu163
Khaldor160
Other Games
FrodaN908
B2W.Neo837
Lowko378
Hui .306
KnowMe243
crisheroes194
Fuzer 178
Trikslyr66
QueenE24
ArmadaUGS6
Organizations
Counter-Strike
PGL55843
Other Games
EGCTV1705
StarCraft 2
ESL.tv188
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• 3DClanTV 49
• Dystopia_ 1
• Kozan
• AfreecaTV YouTube
• intothetv
• sooper7s
• IndyKCrew
• Migwel
StarCraft: Brood War
• Michael_bg 5
• HerbMon 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV662
• Ler79
League of Legends
• Nemesis7275
Upcoming Events
SOOP
1h 22m
HeRoMaRinE vs Astrea
BSL Season 20
1h 52m
UltrA vs Radley
spx vs RaNgeD
Online Event
11h 52m
Clem vs ShoWTimE
herO vs MaxPax
GSL Qualifier
16h 22m
Sparkling Tuna Cup
17h 52m
WardiTV Invitational
18h 52m
Percival vs TriGGeR
ByuN vs Solar
Clem vs Spirit
MaxPax vs Jumy
Anonymous
21h 52m
BSL Season 20
22h 52m
TerrOr vs HBO
Tarson vs Spine
RSL Revival
1d
BSL Season 20
1d 1h
MadiNho vs dxtr13
Gypsy vs Dark
[ Show More ]
Wardi Open
1d 18h
Monday Night Weeklies
1d 23h
Replay Cast
3 days
The PondCast
3 days
Replay Cast
4 days
Replay Cast
4 days
Road to EWC
5 days
SC Evo League
6 days
Road to EWC
6 days
Liquipedia Results

Completed

Proleague 2025-05-14
2025 GSL S1
Calamity Stars S2

Ongoing

JPL Season 2
ASL Season 19
YSL S1
BSL 2v2 Season 3
BSL Season 20
China & Korea Top Challenge
KCM Race Survival 2025 Season 2
NPSL S3
Heroes 10 EU
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025
ESL Pro League S21

Upcoming

Rose Open S1
CSLPRO Last Chance 2025
CSLAN 2025
K-Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
2025 GSL S2
DreamHack Dallas 2025
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.