Period of out-shuffle
Contents
An out-shuffle is a riffle shuffle in which the top half of the deck is taken in the left hand and cards are then alternatively interleaved from left and right hands with preserving the location of the top and bottom card of the deck.
Suppose a deck of size $6$ originally arranged as $(1, 2, 3, 4, 5, 6)$. After an out-shuffle, the deck will become $(1, 4, 2, 5, 3, 6)$.
Period of out-shuffle
Let $n$ is an even integer and $s(n)$ be the minimum number of out-shuffles needed to restore a deck of size $n$ to its original order. Then we have
In fact, $s(6) = 4$. In particular,
$(1,2,3,4,5,6) \rightarrow (1,4,2,5,3,6) \rightarrow (1,5,4,3,2,6) \rightarrow (1,3,5,2,4,6) \rightarrow (1,2,3,4,5,6)$
It is clearly that the out-shuffle can be viewed as a permutation $\sigma_n \in S_n$, where $S_n$ is the symmetric group on $n$ letters and
The key observation is that $\sigma_n(i) \equiv 2i - 1 (\bmod n - 1)$. Thus $i = \sigma_n^k (i)$ for $2 \le i \le n-1$ is equivalent to
that is
☐
Reference:
[1] Out-Shuffle (mathworld)
LastMod Aug 29, 2019
Email smsxgz at gmail dot com