به Nostr بپیوندید
2026-08-02 18:41:49 CEST
in reply to

semisol on Nostr: Assuming your dice rolls are to be identically and independently distributed (likely ...

Assuming your dice rolls are to be identically and independently distributed (likely yes, as your dice do not have memory), you can use a variant of the Von Neumann extractor if you really care:

- assume any 3 digits (say 1/2/3) are 0
- the rest (4/5/6) are 1
- roll two dice, and check the two bits. if they are the same, discard them, if they are not, use the first bit

for example:
11 01 10 00 11 01 10 10 01 00 01 00 becomes
- 0 1 0 - 0 1 1 0 - 0 -