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.

A337059 E.g.f.: 1 / (2 + x^3/6 - exp(x)).

Original entry on oeis.org

1, 1, 3, 12, 67, 461, 3823, 36933, 407963, 5068909, 69982083, 1062784273, 17607354955, 316012688213, 6108011298847, 126490611884013, 2794122884322635, 65578524701197341, 1629676370022564219, 42748628870263418761, 1180373377691425730235
Offset: 0

Views

Author

Ilya Gutkovskiy, Aug 13 2020

Keywords

Crossrefs

Programs

  • Maple
    S:= series(1/(2+x^3/6-exp(x)),x,31):
    seq(coeff(S,x,i)*i!,i=0..30); # Robert Israel, Aug 28 2020
  • Mathematica
    nmax = 20; CoefficientList[Series[1/(2 + x^3/6 - Exp[x]), {x, 0, nmax}], x] Range[0, nmax]!
    a[0] = a[1] = 1; a[n_] := a[n] = n (a[n - 1] + (n - 1) a[n - 2]/2) + Sum[Binomial[n, k] a[n - k], {k, 4, n}]; Table[a[n], {n, 0, 20}]

Formula

a(0) = a(1) = 1; a(n) = n * (a(n-1) + (n-1) * a(n-2) / 2) + Sum_{k=4..n} binomial(n,k) * a(n-k).