The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A371621 Expansion of e.g.f. 1 / (1 - x + x^2/2 - x^3/3 + x^4/4). 1
1, 1, 1, 2, 4, -10, -130, -840, -5880, -36960, -142800, 184800, 12843600, 229429200, 3035432400, 31615584000, 258306048000, 943422480000, -26673126480000, -902769547680000, -18345450483360000, -300501672831360000, -3983084426280960000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = n * a(n-1) - n * (n-1) * a(n-2) / 2 + n * (n-1) * (n-2) * a(n-3) / 3 - n * (n-1) * (n-2) * (n-3) * a(n-4) / 4.
MATHEMATICA
nmax = 22; CoefficientList[Series[1/(1 - x + x^2/2 - x^3/3 + x^4/4), {x, 0, nmax}], x] Range[0, nmax]!
a[0] = a[1] = a[2] = 1; a[3] = 2; a[n_] := a[n] = n a[n - 1] - n (n - 1) a[n - 2]/2 + n (n - 1) (n - 2) a[n - 3]/3 - n (n - 1) (n - 2) (n - 3) a[n - 4]/4; Table[a[n], {n, 0, 22}]
CROSSREFS
Sequence in context: A126140 A326967 A223851 * A297364 A355203 A327059
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Apr 01 2024
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 May 15 01:31 EDT 2024. Contains 372536 sequences. (Running on oeis4.)