a(n) is the number of permutations of 1..n that win this game. Take a shuffled pack of cards labeled 1..n, repeat this: look at the top card's value, X. Move X cards from the top of the deck to the back, one at a time. If you ever end up with the first card back at the top, you win.
A389415
a(n) is the number of permutations of 1..n that win this game. Take a shuffled pack of cards labeled 1..n, repeat this: look at the top card's value, X. Move X cards from the top of the deck to the back, one at a time. If you ever end up with the first card back at the top, you win.
Terms
- a(0) =1a(1) =1a(2) =4a(3) =10a(4) =56a(5) =304a(6) =1956a(7) =14856a(8) =130008a(9) =1237440a(10) =13084540a(11) =151656128a(12) =1907139360a(13) =25850635872a(14) =377651957184
External references
- oeis: A389415