100 prisoners and the Light Bulb Puzzle
There are 100 prisoners are in solitary cells, unable to see, speak or communicate in any way with each other. There’s a room with one light bulb, the bulb is initially off. No prisoner can see the light bulb from his own cell. Everyday, the warden picks a prisoner at random, and that prisoner goes to the that room. While there, the prisoner can toggle the bulb if he wishes. Also, the prisoner has the option of asserting the claim that all 100 prisoners have been to the living room. If this assertion is false (that is, some prisoners still haven’t been to the living room), all 100 prisoners will be shot for their stupidity. However, if it is indeed true, all prisoners are set free. Thus, the assertion should only be made if the prisoner is 100% certain of its validity.
Before the random picking begins.All the prisoners are allowed to get together to discuss a plan.
Note that each prisoner can be selected any number of times and the process will continue till the assertion is not made.
The prisoners need a way to communicate with each other on who when into the cell. Therefore one person is chosen as the counter.
Every time any prisoner is selected other than counter person , they follow these steps. If they have never turned on the light bulb before and the light bulb is off, they turn it on. If not, they don’t do anything.Now if Counter person is selected and the light bulb is already on, he adds one to his count and turns off the bulb. If the bulb is off, he just sits and do nothing. The day his count reaches 99, he calls the warden and tells him “Every prisoner has been in the special room at least once”.
The prisoners give themselves numbers from 1 to 100 and determine among themselves what each prisoner should do when he leaves.
Every prisoner whose number is less than 100 turns on the lamp if it is off and on the condition that he has never turned it on yet.
The prisoner whose number is 100 turns off the lamp if it is on and counts the number of times he turned it off.
After counting 99 times, he informs the warden that all prisoners have already gone out into the room at least once.
Your Answer
More puzzles to try-
Best and Cheapest
What is the best and cheapest light?Read More »Youngest Person
Christina is older than Kareena and Karishma. Katrina is older than Karishma and younger than Kareena. If Kareena has a ...Read More »Somthing is common riddle
What do the numbers 11, 69, 88, and 96 all have in common?Read More »Hard Word Plexor
Which word does the below Plexor means ?Read More »Doubling Pennies Riddle
Which is more,A million dollars or a penny doubled every day for a month?Read More »English word with five letters pronounced the same riddle
I am an English word with five letters. If you remove my last four I am still pronounced the same. ...Read More »The Electrician
An electrician has two two-way switches (single-pole, double-throw), a light bulb, and a power source. How should he connect the ...Read More »Cow tail riddle
The Cow walked 100 meters north, then walked 100 meters east, walked 100 meters south and finally walked 100 meters ...Read More »Orange in the Basket riddle
Five oranges are in a basket. How do you divide them among five Boys so that each Boy gets an ...Read More »How much water evaporated?
There is a 100 pound watermelon laying out in the sun. 99 percent of the watermelon’s weight is water. After ...Read More »Find the odd
Which of the below owl is odd one out?Read More »Can you make the equation correct by moving just one symbol?
The equation shown below is not correct: 26-63=1 Can you make the equation correct by moving just one symbol?Read More »planting trees riddle
A specialist Gardener asked by a Mathematics professor to plant four trees that are all equidistant from each other. How ...Read More »Brown egg and white egg
If a rooster laid a brown egg and a white egg, what kind of chicks would hatch?Read More »What’s her name?
A smooth dance, a ball sport, a place to stay, an Asian country, and a girl’s name. What’s her name?Read More »Mark the Start Puzzle
Bobby and Wilbur decided to take their respective car out of the garage and race. None of them cheated and ...Read More »What is the shortest possible time to fry 3 steaks?
It takes 10 minutes to fry one steak – 5 minutes from each side. Two steaks can fit on a ...Read More »Solve the Series
Solve the following series: AZ, GT, MN, __, YBRead More »Seconds or Hours, which is greater puzzle
‘S‘ refers to the number of seconds in a day and ‘H‘ refers to the number of hours in ten ...Read More »Wife shoot her husband puzzle
A woman shoots her husband, then holds him under water for five minutes. A little while later, they both go ...Read More »