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.

Showing 1-3 of 3 results.

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

A367851 Expansion of e.g.f. 1/(1 - x + log(1 - 2*x)/2).

Original entry on oeis.org

1, 2, 10, 80, 872, 11984, 198416, 3840192, 85031040, 2119385856, 58714881792, 1789646610432, 59515302478848, 2144299161348096, 83204666280609792, 3459286210445942784, 153413140701637804032, 7228914528043587796992, 360670654712328998289408
Offset: 0

Views

Author

Seiichi Manyama, Dec 02 2023

Keywords

Crossrefs

Programs

  • PARI
    a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=i*v[i]+sum(j=1, i, 2^(j-1)*(j-1)!*binomial(i, j)*v[i-j+1])); v;

Formula

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

A367852 Expansion of e.g.f. 1/(1 - x + log(1 - 3*x)/3).

Original entry on oeis.org

1, 2, 11, 102, 1320, 21804, 436986, 10283580, 277697304, 8458929792, 286825214592, 10712216384352, 436859348261904, 19313926491051360, 920053448561989296, 46977842202096405024, 2559387620091962391552, 148187802162935002975488
Offset: 0

Views

Author

Seiichi Manyama, Dec 02 2023

Keywords

Crossrefs

Programs

  • PARI
    a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=i*v[i]+sum(j=1, i, 3^(j-1)*(j-1)!*binomial(i, j)*v[i-j+1])); v;

Formula

a(0) = 1; a(n) = n * a(n-1) + Sum_{k=1..n} 3^(k-1) * (k-1)! * binomial(n,k) * a(n-k).
Showing 1-3 of 3 results.