OFFSET
0,3
FORMULA
G.f.: x*g^2/((1-5*x*g^4) * (1-x*g^3)) where g = 1+x*g^5 is the g.f. of A002294.
G.f.: (-1+g)/((5-4*g) * (1-g+g^2)) where g = 1+x*g^5 is the g.f. of A002294.
Here and below, binomial(N,k) = 0 for k<0.
a(n) = Sum_{k=0..n} (-1)^k * binomial(5*n+k-1,n-k-1).
a(n) = Sum_{k=0..floor(n/2)} (-1)^k * binomial(5*n-k-2,n-2*k-1).
This is the special case l=3, m=2, c=0, r=0, s=-1 of the following family. For integers l, m, c in Z, and for any constants r and s, define a_{l,m,c,r,s}(n) = Sum_{k=0..n} (r*binomial(l*n+m*k-m-1+c,k) - s*binomial(l*n+m*k-m-1+c,k-1)). A_{l,m,c,r,s}(x) = Sum_{n>=0} a_{l,m,c,r,s}(n)*x^n = t^c*(r+s-s*t)/((l+m-(l+m-1)*t)*(1-t+t^m)), where t = t(x) satisfies t = 1 + x*t^(l+m), equivalently y = x*(1+y)^(l+m) with y=t-1.
PROG
(PARI) C(n, k) = if(k>=0, binomial(n, k));
a(n) = sum(k=0, n, (-1)^k*C(5*n+k-1, n-k-1));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 28 2026
STATUS
approved
