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

Thirty friends were on a hiking trip when they decided to enjoy the bonfire. They assembled for it and agreed to play a game. For that, they divided themselves into five teams with seven members each, forming five rows.

How did they manage to achieve this formation?

Asked by Neha on 07 Oct 2024


In a concert, Christina is performing a dance show with her group.
At 10:00, she and her crew were dancing in an absolutely straight line. At that time Christina was standing in 4th position from both the front and back end of the row.

What was the size of her crew?

Asked by Neha on 11 Aug 2024

What part of Turkey has the most feathers?

Asked by Neha on 30 Dec 2025


John: "Hi Teacher, What is your favourite movie ?".
Chemistry Teacher: "Indium Cerium Platinum Iodine Oxygen Nitrogen".
Ten seconds later... John replied I got it.

Do you?

Asked by Neha on 19 Feb 2026

Two old friends, Jack and Jill, meet after a long time, and discussing as:

Jack: Hey, how are you, man?

Bill: Not bad, got married and I have three kids now.

Jack: That's awesome. How old are they?

Bill: The product of their ages is 72 and the sum of their ages is the same as your birth date.

Jack: Cool..But I still don't know.

Bill: My eldest kid just started taking piano lessons.

Jack: Oh, now I get it.

How old are Bill's kids?

Asked by Neha on 23 Dec 2020

What does a man do only once in his lifetime, but women do once a year after they are 29?

Asked by Neha on 10 Aug 2025


In a mathematical quiz, you are asked the following question:

Use three 9s in a mathematical expression without dividing or multiplying to form the number one.

Can you answer the question?

Asked by Neha on 18 Feb 2026

If,

A + B = C
D - C = A
E - B = C

Based on the above equations, find out the answer for:

D + F = ?

Asked by Neha on 01 Jan 2026

A man was gazing through the window of the 23rd floor of the building. He suddenly opened the window and jumped on the other side of the window. On landing on the floor, there was not a sheer mark of injury on him.

How can that be possible if he did not use any kind of parachute and did not land on a soft surface?

Asked by Neha on 12 Feb 2025


John is the son of Jacob.
So,
Jacob is the_____of John's father?

Asked by Neha on 17 Dec 2024

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.