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

Look at the below sequence of letters and tell us what the next letter should be:

O T T F F S S ?

Asked by Neha on 02 Jan 2024


The below mentioned letters have been placed in a order using a logic.

DEAD, BALL, FEAR, SHOP

Can you find the logic?

Asked by Neha on 14 May 2021

I make a loud sound when I’m changing. When I do change, I get bigger but weigh less. What am I?

Asked by Neha on 25 Aug 2025


A man looks at a painting in a museum and says, “Brothers and sisters I have none, but that man’s father is my father’s son.” Who is in the painting?

Asked by Neha on 12 Mar 2025

Replace the question mark with the correct number in the below-given picture?

Number Riddle

Asked by Neha on 08 Sep 2023

What is the longest word in the dictionary?

Asked by Neha on 28 Jun 2024


What has six faces, but does not wear makeup, has twenty-one eyes, but cannot see?

Asked by Neha on 14 Sep 2021

Considering the below equation:

V + II - VI = 10
IV - X + VIII = 20
IV - VII + VI = 30

Then, I + II + III = ?

Asked by Neha on 15 Nov 2024

Six people park their car in an underground parking of a store. The store has six floors in all. Each one of them goes to a different floor. Simon stays in the lift for the longest. Sia gets out before Peter but after Tracy. The first one to get out is Harold. Debra leaves after Tracy who gets out on the third floor.

Can you find out who leaves the lift on which floor?

Asked by Neha on 24 Dec 2024


All of the flowers I have are orchids except two. All of the flowers I have are hibiscuses except two. All of the flowers I have are roses except two.

Can you tell me how many flowers I have?

Asked by Neha on 28 Feb 2025

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.