OFFSET
0,2
FORMULA
If g.f. satisfies A(x) = (1 + x*A(x)*(1 + x*A(x))^s)^t, then a(n) = (1/(n+1)) * Sum_{k=0..n} binomial(t*(n+1),k) * binomial(s*k,n-k).
G.f.: (1/x) * Series_Reversion( x / (1+x+x^2)^5 ).
G.f.: B(x)^5, where B(x) is the g.f. of A365189.
PROG
(PARI) a(n, s=1, t=5) = sum(k=0, n, binomial(t*(n+1), k)*binomial(s*k, n-k))/(n+1);
(PARI) my(N=30, x='x+O('x^N)); Vec(serreverse(x/(1+x+x^2)^5)/x)
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Sep 20 2024
STATUS
approved