Out shuffle

From Wikipedia, the free encyclopedia

An out shuffle is a type of perfect shuffle done in two steps:

  1. Split the cards exactly in half (a bottom half and a top half) and then
  2. Interweave each half of the deck such that every-other card came from the same half of the deck.

If this shuffle keeps the top card on top and the bottom card on bottom, then it is an out shuffle, otherwise it is known as an in shuffle.

[edit] Example

For simplicity, we will use a deck of six cards.

The following shows the order of the deck after each out shuffle. Notice that a deck of this size returns to its original order after 4 out shuffles.

Step Top
Card
2 3 4 5 Bottom
Card
Start
1
2
3
4

[edit] Mathematics

The number of out shuffles required to return a deck of cards of even size, N, to original order is given by the Multiplicative order of 2 modulo (N-1).

For example, for a deck size of N = 2, 4, 6, 8, 10, 12 ..., the number of out shuffles needed are: 1, 2, 4, 3, 6, 10, 12, 4, 8, 18, 6, 11, ... (This is the integer series A002326).

For a standard deck of 52 playing cards, the number of out shuffles required to return the deck to its original order is 8.

[edit] References