4 ms·
Here is a demo of shuffling using a combination of Hindu & Riffle shuffle http://karmadude.github.io/CardShuffler/ http://karmadude.github.io/CardShuffler/ I h
by karmadude 12y ago
Here is a demo of shuffling using a combination of Hindu & Riffle shuffle http://karmadude.github.io/CardShuffler/ http://karmadude.github.io/CardShuffler/
I heard someone say once that we have to shuffle a deck of cards 7 times to get a good shuffle. This demo was setup to try to simulate how we shuffle cards, and turns out shuffling around 5 times gives a pretty good shuffle.
- jpitz 12y agoTo paraphrase, 7 is reasonably able, 14 is guaranteed. Knuth cites this in TAOVP vol 2, from Aldous And Diaconis, AMM 1986, pp 333-348.