OFFSET
0,3
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
MAPLE
A073192 := proc(n) local d; add( (`mod`((n-d+1), 2))*Cat((n-d)/2)*(`if`((0=d), 1, Cat(d-1))), d=0..n); end;
Cat := n -> binomial(2*n, n)/(n+1);
MATHEMATICA
a[n_] := Sum[Mod[n - k + 1, 2]*CatalanNumber[(n - k)/2]*If[k == 0, 1, CatalanNumber[k - 1]], {k, 0, n}]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Mar 05 2016 *)
PROG
(PARI) Gat(n) = if (n == -1, 1, binomial(2*n, n)/(n+1));
a(n) = sum(i=0, n, if (!((n-i)%2), Gat((n-i)/2)*Gat(i-1))); \\ Michel Marcus, May 30 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 25 2002
STATUS
approved