We designed special dice using math, but there’s a catch
How would you order the players randomly? Tell us in the comments. :)
Some proposals that already appeared in the comments section:
- Put cards with player names in a sack, shuffle, then take them out one by one to get the order.
- Simulate the above process using dice (see the comments by Jordan Weitz and samuraiwarm for how to do it).
- Just reroll the dice if there are ties. More precisely, the tied guys go to the next round where they decide the order between themselves (or some of them need to go to the third round etc.).
- One die with n! sides, write the final permutations on it.
The first two solutions are also similar to our solution with cards and to a so-called Fisher-Yates algorithm for sampling a random permutation.
If you consider the third solution with coins instead of dice, what it is doing is that each player is basically sampling a uniformly random number from [0,1], bit by bit. Then, they are ordered by the size of sampled numbers. This corresponds to a simple and popular algorithm to create a random permutation: just sample n random reals from [0,1] and order them by size; the probability of ties is negligible.
#SoME2
00:00 Intro
06:53 General Construction
15:26 Final Thoughts
Eric’s webpage:
Also:
The code for the animations and for finding fair dice:
To make this video, we used manim, a Python library:
The color palette we use:
A few more facts and (open) problems if you are interested:
-- You can generalize the lower bound on the number of sides of fair dice for general n; concretely, you can use the prime number theorem (or bounds on the so-called primorial) to show that n same-sized fair dice have to have 2^{\Omega(n)} sides each.
-- On the other hand, our construction gives dice with (n!)^{n-1} = 2^{O(n^2 \log n)} sides. It would be interesting to see these two bounds getting closer, if you have progress on that, let us know!
-- The lower bound on the number of sides can be generalized to the case when the dice are allowed to have different numbers of sides, then it tells you that for any n fair dice, at least 99% of them have to have 2^{\Omega(n)} sides. But we don’t know whether all dice have to have exponentially many sides.
-- Suppose I give you a string of length n over alphabet with k letters and ask you whether it is fair. The naive way to check it has time complexity O(n^k). Can you do it in time O(f(k) * n) for some function f?
5 views
109
21
3 days ago 00:10:44 1
Structures Recently Found Inside Earth’s Mantle Shouldn’t Exist
4 days ago 01:43:11 1
Moto-X Heaven On Earth
6 days ago 00:01:54 2
[4K USA] Red Mesh Transparent Dresses Try on Haul with Blondy Bella
1 week ago 00:24:48 2
Jim Caviezel on Darkness, the Devil, Hollywood, and Sacrifice
2 weeks ago 00:00:00 1
Acid Jazz & Grooves Radio - 24/7
2 weeks ago 00:08:37 1
UVI Quadra Modular | Overview
2 weeks ago 00:02:00 1
Steampunk 2170 World - 1950’s Super Panavision #steampunk p2
2 weeks ago 00:03:56 1
WE PRAY - Coldplay, Elyanna, Little Simz, Burna Boy, TINI (Elyanna Version) (Official)
2 weeks ago 00:04:06 1
dark_cloud - Live With The Memories (Official Lyric Video)