OFFSET
0,3
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = [x^n] 1/((1+x^2) * (1-x)^n).
a(n) = binomial(2*n-1, n)*hypergeom([1, (1-n)/2, -n/2], [1/2-n, 1-n], -1). - Stefano Spezia, Apr 06 2024
a(n) ~ 2^(2*n+1) / (5*sqrt(Pi*n)). - Vaclav Kotesovec, Apr 07 2024
MATHEMATICA
Table[Sum[(-1)^k Binomial[2n-2k-1, n-2k], {k, 0, Floor[n/2]}], {n, 0, 30}] (* Harvey P. Dale, Oct 31 2024 *)
PROG
(PARI) a(n) = sum(k=0, n\2, (-1)^k*binomial(2*n-2*k-1, n-2*k));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 06 2024
STATUS
approved