by karmadude · 12y ago · 0 comments
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.
Knuth cites this in TAOVP vol 2, from Aldous And Diaconis, AMM 1986, pp 333-348.