Prisoner to be freed

The warden meets with 23 new prisoners when they arrive. 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 1 and 2, each of which can be in either up or the down position. I am not telling you their present positions. The switches are not connected to anything.

"After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must flip one switch when he visits the switch room, and may only flip one of the switches. Then he'll be led back to his cell.

"No one else will be allowed to alter the switches until I lead the next prisoner into the switch room. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. I will not touch the switches, if I wanted you dead you would already be dead.

"Given enough time, everyone will eventually visit the switch room the same number of times as everyone else. At any time, anyone may declare to me, 'We have all visited the switch room.'

"If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will all die horribly. You will be carefully monitored, and any attempt to break any of these rules will result in instant death to all of you"

What is the strategy they come up with so that they can be free?




Similar Riddles

Your job is to measure 45 minutes if you have only two cords and matches to light the cords.

1. The two cords are twisted from various materials, so their different segments can burn at different rates.
2. Each cord burns from end to end in exactly one hour.

Describe your way of measuring the 45 minutes.

Asked by Neha on 15 May 2024


I am white when I am dirty, and black when I am clean. What am I?

Asked by Neha on 31 Mar 2022

Christina is practising her dance steps along with her friends. In a particular sequence, all of them form a row. At that point, Niharika is standing in the 4th position from either end of the row.
Can you find out how many girls are practising together?

Asked by Neha on 10 Oct 2024


In The 1st month of this year(the year 2013), I noticed that the date 13-1-13 (13 January 2013) is special.

This date is special as:

Date * Month = Year.

Can you figure out which year of this century has a maximum number of such dates?

Asked by Neha on 14 Aug 2024

A boy was driving a car, a girl took a lift from her. She asked his name. The boy said - my name is hidden in my car’s number, find it if you can. After this, she got down Car number was [ WV733N ] Can you guess the name now?

Asked by Neha on 22 Mar 2024

Find the next number in the series?
2, 12, 36, 80, 150, 252, 392, _ ?

Asked by Neha on 22 Jan 2024


What does the following represent?

N N N N N N N

A A A A A A A

C C C C C C C

Teaser Puzzle

Asked by Neha on 04 Mar 2021

Find the next number in the sequence

5 12 24 36 ?

Asked by Neha on 08 Jul 2023

There is something which is always coming but never arrives?

Asked by Neha on 08 Mar 2024


If,

20 % 5 = 24

21 % 7 = 33

42 % 6 = 67

Then;

66 % 6 = ?

Asked by Neha on 11 Jul 2024

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki