OFFSET
0,3
COMMENTS
Compare to a g.f. of the Catalan numbers: 1 = Sum_{n>=0} A000108(n)*x^n*(1-x)^(n+1).
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..350
FORMULA
a(n) = Sum_{k=0..n-1} (-1)^(n+1-k) * a(k) * binomial((k+1)^2,n-k) for n>=1, with a(0)=1.
EXAMPLE
G.f.: 1 = 1*(1-x) + 1*x*(1-x)^4 + 4*x^2*(1-x)^9 + 30*x^3*(1-x)^16 + 340*x^4*(1-x)^25 +...
MAPLE
a:= proc(n) option remember; `if`(n=0, 1, -add(a(j)
*(-1)^(n-j)*binomial((j+1)^2, n-j), j=0..n-1))
end:
seq(a(n), n=0..19); # Alois P. Heinz, Jul 08 2022
MATHEMATICA
a[0] := 1; a[n_] := a[n] = Sum[(-1)^(n + 1 - k)*a[k]*Binomial[(k + 1)^2, n - k], {k, 0, n - 1}]; Table[a[n], {n, 0, 50}] (* G. C. Greubel, Jan 02 2018 *)
PROG
(PARI) {a(n)=if(n==0, 1, -polcoeff(sum(m=0, n-1, a(m)*x^m*(1-x+x*O(x^n))^((m+1)^2)), n))}
(PARI) {a(n)=if(n==0, 1, sum(k=0, n-1, (-1)^(n+1-k)*a(k)*binomial((k+1)^2, n-k)))}
for(n=0, 20, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Apr 07 2012
STATUS
approved