cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A331334 a(n) = n! * [x^n] exp(1 - 1/(2*x + 1))/(2*x + 1).

Original entry on oeis.org

1, 0, -4, 32, -240, 1792, -11840, 26112, 1589504, -57548800, 1556757504, -39250780160, 973563695104, -24122607992832, 596246557736960, -14477682566889472, 332039052050104320, -6425352382711857152, 53086817854485692416, 4505005802471597015040, -419037805969718712991744
Offset: 0

Views

Author

Peter Luschny, Jan 19 2020

Keywords

Crossrefs

Programs

  • Maple
    gf := exp(1 - 1/(2*x + 1))/(2*x + 1): ser := series(gf, x, 32):
    seq(n!*coeff(ser, x, n), n=0..20);
    # Alternative:
    a := proc(n) option remember; if n < 2 then 1 - n else
    4*(1 - n)*((n - 1)*a(n - 2) + a(n - 1)) fi end: seq(a(n), n=0..20);

Formula

a(n) = 4*(1 - n)*((n - 1)*a(n - 2) + a(n - 1)).
a(n) = (-2)^n*Sum_{k=0..n} A331333(n, k)/(-2)^k.
a(n)/(-2)^n = n!*LaguerreL(n, 1) = A009940(n).