OFFSET
0,3
FORMULA
a(n) = Sum_{k=0..floor(n/2)} binomial(n+k-1,k) * binomial(n-k-1,n-2*k).
The g.f. exp( Sum_{k>=1} a(k) * x^k/k ) has integer coefficients and equals (1/x) * Series_Reversion( x * (1-x-x^2) / (1-x) ).
PROG
(PARI) a(n, s=2, t=1, u=1) = sum(k=0, n\s, binomial(t*n+k-1, k)*binomial((t-u+1)*n-(s-1)*k-1, n-s*k));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 30 2024
STATUS
approved