Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com> Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
1.2 KiB
1.2 KiB
id, challengeType, isHidden, title, forumTopicId
id | challengeType | isHidden | title | forumTopicId |
---|---|---|---|---|
5900f5411000cf542c510053 | 5 | false | Problem 469: Empty chairs | 302144 |
Description
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.
Instructions
Tests
tests:
- text: <code>euler469()</code> should return 0.56766764161831.
testString: assert.strictEqual(euler469(), 0.56766764161831);
Challenge Seed
function euler469() {
// Good luck!
return true;
}
euler469();
Solution
// solution required