Faro Table for moving cards from and to the top

In writing the Faro Simulator I used formulas for generating the in and out shuffle patterns needed to move cards from and to the top of the deck. These patterns can be seen when using the simulator but I thought it would be useful to see them all in a table.

Faro Table

Position in DeckShuffles to move top card to PositionNumber of shufflesShuffles to move card at Position to top of deckNumber of shuffles
0O1IIOIOI6
1I1IOIOI5
2IO2OIIIII6
3II2OIOI4
4IOO3IIIII5
5IOI3IOIOII6
6IIO3IOI3
7III3OIIIOI6
8IOOO4IIOIII6
9IOOI4IIII4
10IOIO4IOIOOI6
11IOII4OIOII5
12IIOOO5OOOOII6
13IIOI4IOOIOI6
14IIIO4IIIOI5
15IIII4OOIIII6
16IOOOO5OOOI4
17IOOOI5IOIII5
18IOOIO5IIIOII6
19IOOII5III3
20IOIOO5OOIIOI6
21IOIOI5IOOIII6
22IOIIO5IOII4
23IOIII5IIIOOI6
24IIOOO5OOOII5
25IIOOIO6OIOOII6
26IIOIO5OIOIOI6
27IIOII5OOIOI5
28IIIOO5IIIIII6
29IIIOI5IIOI4
30IIIIO5OIIII5
31IIIII5OOIOII6
32IOOOOO6OOI3
33IOOOOI6IIIIOI6
34IOOOIO6OIOIII6
35IOOOII6OIII4
36IOOIOO6OOIOOI6
37IOOIOI6IIOII5
38IIOOO5IOOOII6
39IOOIII6OOOIOI6
40IOIOOO6OIIOI5
41IOIOOI6IOIIII6
42IOIOIO6IOOI4
43IOIOII6OOIII5
44IOIIOO6OIIOII6
45IOIIOI6OII3
46IOIIIO6IOIIOI6
47IOIIII6OOOIII6
48IIOOOO6OOII4
49IIOOOI6OIIOOI6
50IIOOIO6IOOII5
51IIOOIO6IIOOII6
In and Out shuffles to move cards to and from the to of the deck. Note that not all of these are the shortest sequence.

Leave a Reply

Your email address will not be published. Required fields are marked *