News for hackers. Stuff that matters.
Re:The Math of Card Shuffling (2018) by taejo on Friday August 07, 2020 @06:28AM (#24080387)
Two different meanings of perfect are being used. For eight "perfect" riffles to return to the starting order, you've got to split the deck perfectly in half, and then drop one card from one half, then one from the other, and so on alternating. For perfect randomness, choose at random which half to drop a card from each time.

There are no comments on this comment yet.