OFFSET
0,2
FORMULA
a(n) = (-1)^(n-1) * (1/n) * Sum_{k=0..n} binomial(n,k) * binomial(2*n-5*k-2,n-1) for n > 0.
MAPLE
A371341 := proc(n)
if n = 0 then
1;
else
add(binomial(n, k)*binomial(2*n-5*k-2, n-1), k=0..n) ;
(-1)^(n-1)*%/n ;
end if;
end proc:
seq(A371341(n), n=0..60) ; # R. J. Mathar, Apr 22 2024
PROG
(PARI) a(n) = if(n==0, 1, (-1)^(n-1)*sum(k=0, n, binomial(n, k)*binomial(2*n-5*k-2, n-1))/n);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 12 2024
STATUS
approved