OFFSET
0,4
COMMENTS
Number of configurations with k connected components (consisting of polyomino matchings) in the generalized game of memory played on the path of length 4n, see [Young].
LINKS
Donovan Young, Linear k-Chord Diagrams, arXiv:2004.06921 [math.CO], 2020.
FORMULA
G.f.: Sum_{j>=0} (4*j)! * y^j * (1-(1-z)*y)^(4*j+1) / (j! * 24^j * (1-(1-z)*y^2)^(4*j+1)).
EXAMPLE
Triangle begins:
1;
0, 1;
31, 4, 0;
5474, 292, 9, 0;
2554091, 72318,1206, 10, 0;
...
For n=2 and k=1 the configurations are (1,6,7,8),(2,3,4,5), as well as (1,2,7,8),(3,4,5,6) and also (1,2,3,8),(4,5,6,7) (i.e. configurations with a single contiguous set) and (1,2,3,4),(5,6,7,8) (i.e. two adjacent contiguous sets); hence T(2,1) = 4.
MATHEMATICA
CoefficientList[Normal[Series[Sum[y^j*(4*j)!/24^j/j!*((1-y*(1-z))/(1-y^2*(1-z)))^(4*j+1), {j, 0, 20}], {y, 0, 20}]], {y, z}]
PROG
(PARI)
T(n)={my(v=Vec(sum(j=0, n, (4*j)! * x^j * (1-(1-y)*x + O(x*x^n))^(4*j+1) / (j! * 24^j * (1-(1-y)*x^2 + O(x*x^n))^(4*j+1))))); vector(#v, i, Vecrev(v[i], i))}
{ my(A=T(8)); for(n=1, #A, print(A[n])) }
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Donovan Young, May 26 2020
STATUS
approved