The problem is this

A visitor to the CTK Exchange by the name of Kerry has posted a probabilistic approach whose validity was well supported by calculations.

Let y be the number of years.

One prisoner thinks 100 days between going to living room (on average) times 99 prisoners at least. 27 years to get out (law of averages.) It feels wrong. Something is really wrong.

Well he thought, what are the chances all the people have gone into the living room after a year, after 2 years etc...

The possibility all 100 people are chosen after a given number of years is:

where 365y is the number of days, y is the years (it’s in there twice).

So he will make the claim sometime after 4-5 years. Some designated counter can count whatever lights he wants, but he will free all 100 thanks to the laws of probability. He saved them each over 20 years in jail. That’s over 2,000 man years.

Phew…. My chart

Even more precise, but not significant in the outcome is:

Where t is the number of times he has already been in the living room

Conditions

If t=0 then there is no chance what so ever. If 365y-t<99 no chance what so ever.

Years

- 6.9011% or 14 in 15 of Mass Excecution
- 93.7616% or 1 in 600
- 99.8373% or 1 in 15.8
- 99.9958% or 1 in 23,500
- 99.9998% or 1 in 924,000
- 99.99999724% or 1 in 36.2 million
- 99.99999993% or 1 in 2.4 billion
- 99.999999999% or 1 in 55.6 billion
- 99.999999999... or 1 in 2.18 trillion
- 99.999999999... or 1 in 85.4 trillion (the people on 13,000 planets with equal populations to earth)

Any way I tested the math with a probability chart and 2, 3 and 4 prisoners and up to 10 days. It computes.

For my calculations I eventually settled on this. Assuming he is chosen about 3.65 times in each year.