RE: Probability question: names in hats
March 16, 2016 at 4:21 am
(This post was last modified: March 16, 2016 at 4:25 am by robvalue.)
OK, interesting.
I have coded the problem.
I am getting the following results, over a series of 5000 games:
3 players: around 25%
4 players: around 14%
10 players: around 8%
This would tentatively place Aractus's solution as wrong, although I haven't looked through it properly yet.
The first two there line up with my calculations: 1/4 and 5/36 for 3 and 4 players respectively
Here is the code, in microsoft small basic:
I have coded the problem.
I am getting the following results, over a series of 5000 games:
3 players: around 25%
4 players: around 14%
10 players: around 8%
This would tentatively place Aractus's solution as wrong, although I haven't looked through it properly yet.
The first two there line up with my calculations: 1/4 and 5/36 for 3 and 4 players respectively
Here is the code, in microsoft small basic:
Feel free to send me a private message.
Please visit my website here! It's got lots of information about atheism/theism and support for new atheists.
Index of useful threads and discussions
Index of my best videos
Quickstart guide to the forum
Please visit my website here! It's got lots of information about atheism/theism and support for new atheists.
Index of useful threads and discussions
Index of my best videos
Quickstart guide to the forum