logoalt Hacker News

zahlmantoday at 4:07 PM1 replyview on HN

It requires eight perfect riffle shuffles, not seven. (I just checked at the Python REPL.) And actually it depends on whether the riffles are done "in" or "out" (i.e. which half of the deck the new top card comes from).

I had understood that seven "typical" riffle shuffles produce good randomness.


Replies

WillAdamstoday at 4:51 PM

Yeah, my father could do that consistently, and used it to teach me "Always cut cards" having also memorized the card order for each shuffle --- I guess being on a troop ship for weeks on end had to have some sort of up-side.

Nick Scarne is an interesting name to look up, and his writings are almost on a level with his facility to manipulate cards.

show 1 reply