outshuffles
An outshuffle is a type of perfect shuffle where the deck of cards is divided into two halves, and the cards are interleaved such that the top card of the original deck remains the top card. The deck is split exactly in the middle, and then the cards are interlaced one by one, starting with the top card of the bottom half. This means the very first card of the deck ends up on top after the shuffle.
Mathematically, an outshuffle can be represented by a function. If a deck has 2n cards, the outshuffle
The number of outshuffles required to return a deck of a specific size to its original order