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

Can you decipher the below rebus?

PBLUESAISNUERSES

Asked by Neha on 10 Aug 2023


Suppose we lay down two cups in front of you. One of the cups is filled with tea and the other one with coffee. Now we ask you to take a spoonful of tea and mix it with the coffee. At this moment, the coffee cup has a mixture of tea and coffee. You have to take that mixture (spoonful) and add it back to the tea.

Can you now tell if the cup of coffee has more tea or the cup of tea has more coffee?

Asked by Neha on 30 Mar 2024

Today, I celebrated my 32nd birthday but I was born in 1972.
How is this possible?

Asked by Neha on 01 May 2025


I came first on earth but second on the heaven.
I also came twice in a week but found just once in a year.
I stay away from months but you can find me in February.

What am I?

Asked by Neha on 01 Jan 2025

I get hot but I never sweat,
I cook food but I am not a chef,
I have a door but you can't enter me,
I have a light but I am not a lamp.
Who am I?

Asked by Neha on 15 Feb 2021

I’m orange, I wear a green hat and I sound like a parrot. What am I?

Asked by Neha on 26 Aug 2025


John replied, when asked how old he was. In 2 years he will be twice as old as he was five years ago.' How old is he ?

Find the age

Asked by Neha on 10 Apr 2021

What has 13 hearts but no other organs?

Asked by Neha on 11 Mar 2022

In a boat, the father of a sailor's son is sitting with the son of the sailor. However, the sailor is not present on the boat.

Can this even be possible?

Asked by Neha on 24 May 2024


Can you move 2 matchsticks to form four equal sized squares.

Make four Square Riddle

Asked by Neha on 17 Dec 2020

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