OFFSET
1,1
COMMENTS
The flip-riffle shuffle is a riffle shuffle but also turns the deck upside down.
EXAMPLE
The flip-riffle shuffle on 6 cards is [1,2,3,4,5,6] -> [6,3,5,2,4,1]. The period of this function is 4, hence a(3) = 4.
CROSSREFS
KEYWORD
nonn
AUTHOR
Russ Cox, Nov 19 2001
STATUS
approved