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.

A032181 Number of ways to partition n labeled elements into pie slices each of at least 2 elements.

Original entry on oeis.org

0, 1, 1, 4, 11, 56, 267, 1730, 11643, 93532, 804563, 7789838, 81109107, 923080328, 11250876171, 147433014058, 2056359699659, 30514968348500, 479058943716579, 7942752339181286, 138576460230586755, 2539126631897727808, 48733588613803358939
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    Rest[CoefficientList[Series[Log[1/(2+x-E^x)], {x, 0, 20}], x]* Range[0, 20]!] (* Vaclav Kotesovec, Sep 30 2013 *)

Formula

"CIJ" (necklace, indistinct, labeled) transform of 0, 1, 1, 1...
E.g.f.: A(x) = log(1/(2+x-exp(x))).
a(n) = n! * sum(k=1..n, sum(j=0..k, binomial(k,j) *stirling2(n-k+j,j) *j!/(n-k+j)! *(-1)^(k-j))/k). - Vladimir Kruchinin, Feb 01 2011
a(n) ~ (n-1)! / (-LambertW(-1,-exp(-2))-2)^n. - Vaclav Kotesovec, Sep 30 2013