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!)
A307862 Coefficient of x^n in (1 + x - n*x^2)^n. 4
1, 1, -3, -17, 49, 651, -1259, -38023, 26433, 2969299, 2225101, -289389891, -692529551, 33718183045, 143578976997, -4559187616649, -29119975483135, 699788001188403, 6188699469443869, -119828491083854707, -1404529670244379599, 22563726025297759345, 341997845736800473397 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Also coefficient of x^n in the expansion of 1/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).
a(n) = Sum_{k=0..floor(n/2)} (-n)^k * binomial(n,2*k) * binomial(2*k,k).
a(n) = n! * [x^n] exp(x) * BesselI(0,2*sqrt(-n)*x). - Ilya Gutkovskiy, May 31 2020
a(n) = Hypergeometric2F1(-n/2, (1-n)/2; 1; -4*n). - G. C. Greubel, May 31 2020
MAPLE
A307862:= n -> simplify(hypergeom([-n/2, (1-n)/2], [1], -4*n));
seq(A307862(n), n = 0..30); # G. C. Greubel, May 31 2020
MATHEMATICA
a[n_]:= SeriesCoefficient[(1 +x -n*x^2)^n, {x, 0, n}]; Table[a[n], {n, 0, 30}] (* G. C. Greubel, May 31 2020 *)
PROG
(PARI) {a(n) = polcoef((1+x-n*x^2)^n, n)}
(PARI) {a(n) = sum(k=0, n\2, (-n)^k*binomial(n, k)*binomial(n-k, k))}
(PARI) {a(n) = sum(k=0, n\2, (-n)^k*binomial(n, 2*k)*binomial(2*k, k))}
(Sage) [ hypergeometric([-n/2, (1-n)/2], [1], -4*n).simplify_hypergeometric() for n in (0..30)] # G. C. Greubel, May 31 2020
CROSSREFS
Main diagonal of A307860.
Sequence in context: A144640 A084069 A297514 * A132124 A011917 A018691
KEYWORD
sign
AUTHOR
Seiichi Manyama, May 02 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 02:28 EDT 2024. Contains 371782 sequences. (Running on oeis4.)