This website is a semi-functional mirror of the original Project Euler. More information is available on GitHub.
projecteuler.net

Empty chairs

Problem 469

Published on 26 April 2014 at 04:00 pm [Server Time]

In a room N chairs are placed around a round table.
Knights enter the room one by one and choose at random an available empty chair.
To have enough elbow room the knights always leave at least one empty chair between each other.

When there aren't any suitable chairs left, the fraction C of empty chairs is determined.
We also define E(N) as the expected value of C.
We can verify that E(4) = 1/2 and E(6) = 5/9.

Find E(1018). Give your answer rounded to fourteen decimal places in the form 0.abcdefghijklmn.


Answer:
Go to back to Problems