login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A307947 Coefficient of x^n in 1/(n+1) * (1 + x - n*x^2)^(n+1). 2
1, 1, -1, -8, 9, 201, -89, -8721, -5599, 540595, 1091551, -43580206, -159753527, 4318835223, 24185472039, -506659112324, -3987724324735, 68460979242171, 722884820238847, -10431188525128096, -143862807220127799, 1761112732849258195, 31284729872945906919 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Also coefficient of x^n in the expansion of 2/(1 - x + sqrt(1 - 2*x + (1+4*n)*x^2)).
LINKS
FORMULA
a(n) = Sum_{k=0..floor(n/2)} (-n)^k * binomial(n,k) * binomial(n-k,k)/(k+1) = Sum_{k=0..floor(n/2)} (-n)^k * binomial(n,2*k) * A000108(k).
a(n) = Hypergeometric2F1(1/2 - n/2, -n/2, 2, -4*n). - Vaclav Kotesovec, May 12 2021
MAPLE
f:= n -> coeff(1/(n+1)*(1+x-n*x^2)^(n+1), x, n):
map(f, [$0..30]); # Robert Israel, May 08 2019
MATHEMATICA
a[0] = 1; a[n_] := Sum[(-n)^k * Binomial[n, 2*k] * CatalanNumber[k], {k, 0, Floor[n/2]}]; Array[a, 23, 0] // Flatten (* Amiram Eldar, May 12 2021 *)
Table[Hypergeometric2F1[1/2 - n/2, -n/2, 2, -4*n], {n, 0, 20}] (* Vaclav Kotesovec, May 12 2021 *)
PROG
(PARI) {a(n) = polcoef((1+x-n*x^2)^(n+1)/(n+1), n)}
(PARI) {a(n) = sum(k=0, n\2, (-n)^k*binomial(n, k)*binomial(n-k, k)/(k+1))}
(PARI) {a(n) = sum(k=0, n\2, (-n)^k*binomial(n, 2*k)*binomial(2*k, k)/(k+1))}
CROSSREFS
Sequence in context: A239584 A041141 A041142 * A175849 A294468 A041605
KEYWORD
sign
AUTHOR
Seiichi Manyama, May 07 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)