OFFSET
1,4
LINKS
Indranil Ghosh, Rows 1..100, flattened
FORMULA
G.f.: 1/(1-C(x)*(x+x^3)*y)-1, where C(x) is g.f. of Catalan numbers (A000108).
EXAMPLE
1;
1, 1;
3, 2, 1;
6, 7, 3, 1;
16, 18, 12, 4, 1;
47, 53, 37, 18, 5, 1;
MATHEMATICA
Flatten[Table[k*Sum[Binomial[k, i] * Binomial[2n-k-4i-1, n-2i-k] / (n-2i), {i, 0, (n-k)/2}], {n, 1, 11}, {k, 1, n}]] (* Indranil Ghosh, Mar 04 2017 *)
PROG
(Maxima)
T(n, k):=(k*sum((binomial(k, i)*binomial(2*n-k-4*i-1, n-2*i-k))/(n-2*i), i, 0, (n-k)/2));
(PARI)
tabl(nn) = {for (n=1, nn, for(k=1, n, print1(k*sum(i=0, (n-k)/2, binomial(k, i) * binomial(2*n-k-4*i-1, n-2*i-k) / (n-2*i)), ", "); ); print(); ); };
tabl(11); \\ Indranil Ghosh, Mar 04 2017
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Vladimir Kruchinin, Apr 30 2015
STATUS
approved