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 woman named Maria was at the funeral of her mother. She met a nice young man that she had never seen before and after the service, they spent a bit of time together. Then she got busy and didn’t get his name or phone number before he left. She tried to find him, but no one knew who he was or how to contact him. A few weeks later, Maria’s older sister dies and the police suspect murder. Who killed the sister?

Asked by Neha on 02 Jun 2025


It belongs to you, but other people use it more than you do. What is it?

Asked by Neha on 19 Feb 2022

Keyboard words are not in alphabetical order, Why?

Asked by Neha on 26 Jul 2023


People put me on the table and cut me but do not eat me. What am I?

Asked by Neha on 09 Jul 2024

A car meter reading shows 72927 miles a palindromic number.
what is the minimum number of miles you would need to travel to see another palindromic number on the car meter reading?

Asked by Neha on 29 Mar 2026

0 0 0 = 6
1 1 1 = 6
2 2 2 = 6
3 3 3 = 6
4 4 4 = 6
5 5 5 = 6
6 6 6 = 6
7 7 7 = 6
8 8 8 = 6
9 9 9 = 6

You can use any mathematical symbols in the space provided to make all above algebraic expressions true.

Asked by Neha on 24 Jul 2021


Living above a star, I do not burn
Eleven friends and they do not turn
I can just be visited in a sequence, not once or repeatedly
PQRS are my initials
Can you tell my name accurately?

Asked by Neha on 11 Jul 2021

A 52% bias toss for head using the 51% tail bias coin was done to obtain a fair result.

Can you find how bias is the floor in this case?

Asked by Neha on 15 Feb 2023

Katniss and Peeta are liars. They both lie on some specific days.

Katniss lies on Fridays, Saturdays and Sundays. She speaks the truth on all other days.

Peeta lies on Tuesdays, Wednesdays and Thursdays. He speaks the truth on all other days.

Can you tell that one day of the week when both of them will say "Tomorrow, I will lie."?

Asked by Neha on 11 Mar 2026


If EELS + MARK + BEST + WARY = EASY

What does HELP + BARK + WARD + LEAD equal?

Find the Next

Asked by Neha on 18 Mar 2021

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.