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

A number can be multiplied by multiple of nine
i.e 9 18 27 36 45 ...

and the resulting number consist of only one digit.

Can you identify the number ?

Asked by Neha on 07 May 2023


You know three triplets: Frank John and Wayne (need to return your money). Frank always tells the truth while John and Wayne always lie. You meet one of them on the road and can ask him a three-word question.
Which question, will you ask?

Asked by Neha on 21 Mar 2023

Below, you will find the mathematical proof that 10 equals 9.99999?. But is that possible or there is something wrong about it? Can you find the error?

x = 9.999999...
10x = 99.999999...
10x - x = 90
9x = 90
x = 10

Asked by Neha on 27 Aug 2021


There is a brick of gold and a brick of iron in a boat (both 10-inch blocks), if they are both dropped into the water which will make the water level higher?

Gold and Iron Bricks

Asked by Neha on 27 May 2024

In the four images below, can you find the odd one out?

Odd One Out Riddle

Asked by Neha on 08 Jul 2021

Out of four images which one is the odd one out?

Odd one out

Asked by Neha on 02 Oct 2023


I know a ten-letter word in the English language which can be typed using only the top rows of the computer keyboard.

Asked by Neha on 18 May 2024

How is a fly different from a mosquito?

Asked by Neha on 15 Jul 2023

Who is that with a neck and no head, two arms and no hands? What is it?

Asked by Neha on 27 Mar 2022


A worker is to perform work for you for seven straight days. In return for his work, you will pay him 1/7th of a bar of gold per day. The worker requires a daily payment of 1/7th of the bar of gold. What and where are the fewest number of cuts to the bar of gold that will allow you to pay him 1/7th each day?

Asked by Neha on 05 Mar 2024

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.