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.

A052820 Expansion of e.g.f. 1/(1 - x + log(1 - x)).

Original entry on oeis.org

1, 2, 9, 62, 572, 6604, 91526, 1480044, 27353448, 568731648, 13138994112, 333895239072, 9256507508112, 278000959058016, 8991458660924112, 311585506208924064, 11517363473843526912, 452332548042633835776
Offset: 0

Views

Author

encyclopedia(AT)pommard.inria.fr, Jan 25 2000

Keywords

Comments

Previous name was: A simple grammar.
a(n) is the number of ways to seat n people at circular tables, then linearly order the tables, then designate some (possibly all or none) of the tables at which only one person is seated. a(2) = 9 because we have: (1)(2), (1')(2), (1)(2'), (1')(2'), (2)(1), (2')(1), (2)(1'), (2')(1'), (1,2). Cf. A007840. - Geoffrey Critzer, Nov 05 2013

Crossrefs

Programs

  • Maple
    spec := [S,{C=Cycle(Z),B=Union(C,Z),S=Sequence(B)},labeled]: seq(combstruct[count](spec,size=n), n=0..20);
  • Mathematica
    CoefficientList[Series[1/(1-x+Log[1-x]), {x, 0, 20}], x]* Range[0, 20]! (* Vaclav Kotesovec, Oct 01 2013 *)

Formula

E.g.f.: -1/(-1+x+log(-1/(-1+x))).
a(n) ~ n! * (1/(1-LambertW(1)))^n/(1/LambertW(1)-LambertW(1)). - Vaclav Kotesovec, Oct 01 2013
a(0) = 1; a(n) = n * a(n-1) + Sum_{k=0..n-1} binomial(n,k) * (n-k-1)! * a(k). - Ilya Gutkovskiy, Apr 26 2021

Extensions

New name using e.g.f., Vaclav Kotesovec, Oct 01 2013