OFFSET
0,3
COMMENTS
The number of different possible outcomes when starting with n piles of 2 distinct playing cards and repeatedly moving a top card from either of these n piles to one of n new piles, until all new piles have height 2.
LINKS
J. de Ruiter, Counting Classes of Klondike Solitaire Configurations, Master's Thesis (2012), 48-58.
FORMULA
a(n) = (2*n)!-n^2*(2*n-2)! for n>0.
a(n) = (2*n)!*(3*n-2)/(4*n-2).
a(n) = a(n-1)*2*n*(2*n-3)*(3*n-2)/(3*n-5) for n>0.
a(n) = Sum_{i=1..n} a(n-i)*C(n,i)*C(n-1,i-1)*i!*(i-1)!*(2^(2*i-1)-1) for n>0.
a(n) = Sum_{i=0..n-1} a(i)*n!*(n-1)!*(2^(2*n-2*i-1)-1)/(i!)^2 for n>0. [corrected by Jason Yuen, Oct 27 2024]
a(n) = Sum_{i=0..n-1} a(i)*((2*n)!!*(2*n-2)!!/((2*i)!!)^2-n!*(n-1)!/(i!)^2) for n>0. [corrected by Jason Yuen, Oct 27 2024]
PROG
(PARI) a(n) = (2*n)!*(3*n-2)/(4*n-2); \\ Michel Marcus, Aug 18 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Johan de Ruiter, Jul 23 2012
EXTENSIONS
More terms from Michel Marcus, Aug 18 2013
STATUS
approved