Home
Log in / Sign Up
    Private Messages   Rules   New User Guide   FAQ   Advertise   Contact Us  
Forum -> The Social Scene -> Games
Math and logic riddle thread
  Previous  1  2  3 40  41  42 67  68  69  Next



Post new topic   Reply to topic View latest: 24h 48h 72h

  Tamari  




 
 
    
 

Post Thu, Oct 15 2020, 4:52 am
This one’s serious....
The warden meets with 23 new prisoners when they arrive to prison. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another.
"In the prison is a switch room, which contains two light switches labeled A and B. Both are in the “off” position now. The switches are not connected to anything.
All day long, I will be leading prisoners randomly, one at a time, into the switch room. Every time you’re there, you must flip one switch and you’ll then be led back to your cell.
There’s no limit how many times a prisoner will visit the room, and no particular order which I will follow. One might visit the room 3 times before another would be there even once, but with time, all prisoners will have visited the room the same amount of times.
At any given time, any prisoner may yell “all have visited the room!”
If that will be true, you’ll all be freed. If even one prisoner hasn’t been to the room yet, you’ll all be shot.
I will not purposefully hold back one prisoner from entering the room.”
What plan can they come up with to ensure that they’re freed?
Back to top

  ExtraCredit  




 
 
    
 

Post Thu, Oct 15 2020, 10:33 am
Tamari wrote:
This one’s serious....
The warden meets with 23 new prisoners when they arrive to prison. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another.
"In the prison is a switch room, which contains two light switches labeled A and B. Both are in the “off” position now. The switches are not connected to anything.
All day long, I will be leading prisoners randomly, one at a time, into the switch room. Every time you’re there, you must flip one switch and you’ll then be led back to your cell.
There’s no limit how many times a prisoner will visit the room, and no particular order which I will follow. One might visit the room 3 times before another would be there even once, but with time, all prisoners will have visited the room the same amount of times.
At any given time, any prisoner may yell “all have visited the room!”
If that will be true, you’ll all be freed. If even one prisoner hasn’t been to the room yet, you’ll all be shot.
I will not purposefully hold back one prisoner from entering the room.”
What plan can they come up with to ensure that they’re freed?

You are making me feel dumber by the day Banging head
Back to top

  ChanieMommy  




 
 
    
 

Post Thu, Oct 15 2020, 10:57 am
That's a tough one... I have no clue how to go about it...
Back to top

  Tamari  




 
 
    
 

Post Thu, Oct 15 2020, 11:56 am
ChanieMommy wrote:
That's a tough one... I have no clue how to go about it...


Keep in mind that it might take a really long time for their plan to realize, but eventually they will reach a point where they can be 100% certain that all prisoners have visited the room at least once.

Hint:
Hidden: 

They assign one person as the leader, who will somehow keep track of the entries.
Back to top

  ExtraCredit  




 
 
    
 

Post Thu, Oct 15 2020, 12:02 pm
Tamari wrote:
Keep in mind that it might take a really long time for their plan to realize, but eventually they will reach a point where they can be 100% certain that all prisoners have visited the room at least once.

Hint:
Hidden: 

They assign one person as the leader, who will somehow keep track of the entries.

But they can all just flick a single switch each time?
Back to top

  Tamari  




 
 
    
 

Post Thu, Oct 15 2020, 12:04 pm
ExtraCredit wrote:
But they can all just flick a single switch each time?


Correct.
Back to top

  ExtraCredit  




 
 
    
 

Post Thu, Oct 15 2020, 12:06 pm
Ok your hint helped a lot.
Hidden: 

Mr A is in charge. He’s the only one allowed to open switch A. Every person who enters and finds in open closes it but don’t forget open Mr A can open it. Mr A keeps count every time he goes in and once there are 22 times it was closed again he knows all have passed through.


But this can take a looooong time.
Back to top

  Tamari  




 
 
    
 

Post Thu, Oct 15 2020, 12:10 pm
ExtraCredit wrote:
Ok your hint helped a lot.
Hidden: 

Mr A is in charge. He’s the only one allowed to open switch A. Every person who enters and finds in open closes it but don’t forget open Mr A can open it. Mr A keeps count every time he goes in and once there are 22 times it was closed again he knows all have passed through.


But this can take a looooong time.


Goooooddddddd, but you omitted one vital piece of information. Re-read your solution, think about it, and tell me what is missing.
Back to top

  ExtraCredit  




 
 
    
 

Post Thu, Oct 15 2020, 12:13 pm
Tamari wrote:
Goooooddddddd, but you omitted one vital piece of information. Re-read your solution, think about it, and tell me what is missing.

Don’t see anything missing. Let me read the question again.
Back to top

  ExtraCredit  




 
 
    
 

Post Thu, Oct 15 2020, 12:19 pm
Do you mean this?
Hidden: 

If they find switch A closed they obviously flick switch B?
Back to top

  ChanieMommy  




 
 
    
 

Post Thu, Oct 15 2020, 12:21 pm
Tamari wrote:
Keep in mind that it might take a really long time for their plan to realize, but eventually they will reach a point where they can be 100% certain that all prisoners have visited the room at least once.

Hint:
Hidden: 

They assign one person as the leader, who will somehow keep track of the entries.


Oh, I see... because I could not see how you would count to 23 with just two switches...

But what if
Hidden: 

the assigned person is the last to be brought to switch, and will be brought to switch just once?
Back to top

  ChanieMommy  




 
 
    
 

Post Thu, Oct 15 2020, 12:24 pm
ExtraCredit wrote:
Do you mean this?
Hidden: 

If they find switch A closed they obviously flick switch B?

I think it should be this:

Hidden: 

Whoever comes in for the first time switches switch A on, no-one but Mr. A is allowed to switch it off. All the subsequent times, they have to switch switch B...If they came in an switch A was already on "on", they have to switch swicht A the next time they come in and it is on off... so that everyone will switch switch A on exactly one time... except Mr. A...
Back to top

  Tamari  




 
 
    
 

Post Thu, Oct 15 2020, 12:25 pm
ExtraCredit wrote:
Do you mean this?
Hidden: 

If they find switch A closed they obviously flick switch B?


No. Your solution, as currently worded is incorrect. This is why:

Hidden: 

What if the warden alternates a few times between the leader and another prisoner? Then the switch goes on when the leader is there, off for prisoner, then leader flicks it on again, prisoner off, having the leader counting, but it's the same prisoner all along, so reaching 22 doesn't necessarily mean all were there!
Back to top

  Tamari  




 
 
    
 

Post Thu, Oct 15 2020, 12:27 pm
ChanieMommy wrote:
I think it should be this:

Hidden: 

Whoever comes in for the first time switches switch A on, no-one but Mr. A is allowed to switch it off. All the subsequent times, they have to switch switch B...If they came in an switch A was already on "on", they have to switch swicht A the next time they come in and it is on off... so that everyone will switch switch A on exactly one time... except Mr. A...


YESSS!!!!
Back to top

  Tamari  




 
 
    
 

Post Thu, Oct 15 2020, 12:28 pm
ChanieMommy wrote:
Oh, I see... because I could not see how you would count to 23 with just two switches...

But what if
Hidden: 

the assigned person is the last to be brought to switch, and will be brought to switch just once?


Mentioned in the riddle that eventually they will all have visited the room same amount of times.
Back to top

  ChanieMommy  




 
 
    
 

Post Thu, Oct 15 2020, 12:34 pm
ExtraCredit wrote:
Ok your hint helped a lot.
Hidden: 

Mr A is in charge. He’s the only one allowed to open switch A. Every person who enters and finds in open closes it but don’t forget open Mr A can open it. Mr A keeps count every time he goes in and once there are 22 times it was closed again he knows all have passed through.


But this can take a looooong time.


Right, this could take a really long time...

And this is the next riddle:

If the distribution which prisoner is lead to switch is entirely random, every prisoner has always the same chance of getting called, how many switches will it take till there is a 95% chance that Mr. A can yell "Everyone was here"....

(this is also the reason why most sticker albums stay half empty, except if the children engage in heavy trading).


Last edited by ChanieMommy on Thu, Oct 15 2020, 12:34 pm; edited 1 time in total
Back to top

  Tamari  




 
 
    
 

Post Thu, Oct 15 2020, 12:34 pm
23 prisoners solution:

Hidden: 

One person is assigned as the leader, who will keep track of how many patients have already visited the room. Here's how:
Every prisoner's mission (except for leader) is to flick switch A "ON" at their very first opportunity. If switch A is already ON, or they have already turned it on at a previous visit, then they only flick switch B.
The leader's mission is to always leave the room with switch A in the "OFF" position. If it's already OFF, then he flicks switch B.
So: Whenever the leader sees switch A "ON", he knows that a newcomer has been there since his last visit. So, he will count every time he turns it to off, and when he reaches 22, he knows all have been there.
Back to top

  Tamari  




 
 
    
 

Post Thu, Oct 15 2020, 12:35 pm
ChanieMommy wrote:
Right, this could take a really long time...

And this is the next riddle:

If the distribution which prisoner is lead to switch is entirely random, every prisoner has always the same chance of getting called, how many switches will it take till there is a 95% chance that Mr. A can yell "Everyone was here"....

(this is also the reason why most sticker albums stay half empty, except if the children engage in heavy trading).


That's a riddle for you and malki2 Sad
Back to top

  ExtraCredit  




 
 
    
 

Post Thu, Oct 15 2020, 12:40 pm
Tamari wrote:
No. Your solution, as currently worded is incorrect. This is why:

Hidden: 

What if the warden alternates a few times between the leader and another prisoner? Then the switch goes on when the leader is there, off for prisoner, then leader flicks it on again, prisoner off, having the leader counting, but it's the same prisoner all along, so reaching 22 doesn't necessarily mean all were there!

Hidden: 

Oh of course they can all only flick it once regardless of how many times they enter. I didn’t write it but certainly had that in mind.
Back to top

  ChanieMommy  




 
 
    
 

Post Thu, Oct 15 2020, 12:40 pm
And for those who find the riddle above too complicated, I reiterate the magic trick from the circuit breakers:

Here is a magic trick:

You ask a person to think of a number between 1 and 100.

You give them a set of cards with numbers and ask the person to tell you on which cards their number appears.

Now you can say what the number was.

How are those cards made? (which numbers are written on each card?)
How many cards do you need?
How do you know what their number was?
Back to top
Page 41 of 69   Previous  1  2  3 40  41  42 67  68  69  Next Recent Topics




Post new topic   Reply to topic    Forum -> The Social Scene -> Games

Related Topics Replies Last Post
Official Bored YouTube thread #3
by amother
342 Yesterday at 4:28 pm View last post
Who is up for a fun math challenge? 24 Sat, Nov 23 2024, 3:50 pm View last post
Was the chabad tzniyus thread taken down?
by amother
1 Wed, Nov 13 2024, 2:09 pm View last post
Ss/o awkward thread- TIP FOR WHATSAPP USERS
by amother
1 Mon, Nov 04 2024, 7:09 pm View last post
ISO thread with link to suede down jacket
by amother
0 Sat, Nov 02 2024, 5:25 pm View last post