A Riffle Shuffle (known in the USA as a Faro shuffle) is a card shuffle in which the pack of cards is divided into two roughly equal piles, and cards from the two piles are then dropped alternately from the two piles to create an interleaved pack. This form of shuffle is used by serious players in most card games as it is one of the fastest and most effective ways of mixing up - and ultimately randomising - a pack.

The mathematics of riffle-shuffling is of interest to both mathematicians and magicians, because it can generate suprising patterns, and has connections with modular arithmetic and randomness. Of particular interest is the 'perfect' riffle shuffle, in which the pack of cards is divided exactly in half (for a normal pack this means two piles of 26 cards) and the cards are then interleaved alternately from the two piles. There are two types of perfect shuffle:

If a card starts in position n in the pack, it is sent to position 2n-1 (modulo 51) in an out-shuffle and position 2n (modulo 53) in an in-shuffle.

Thanks to work by Persi Diaconis and others, it is now understood that seven almost perfect riffle shuffles are enough to effectively randomise a pack. However, somewhat confusingly, eight perfect out-shuffles will restore a pack precisely to its original order.

Last change to this page
Full Page history
Links to this page
Edit this page
  (with sufficient authority)
Change password
Recent changes
All pages