OFFSET
1,2
COMMENTS
Row sums of triangle A137649. - Gary W. Adamson, Feb 01 2008
Number of nodes in the set partition tree T(n). See Butler and Sasao. - Michel Marcus, Nov 03 2020
LINKS
T. D. Noe, Table of n, a(n) for n = 1..100
Jon T. Butler and Tsutomu Sasao, A set partition number system, Australasian Journal of Combinatorics, Volume 65(2) (2016), 152-169. See Table 4, p. 167.
FORMULA
If offset is 0, a(n) = Sum_{i=0..n} binomial(n+1, i+1)*Bell(i) [cf. A000110].
Partial sums of Bell numbers. - Vladeta Jovovic, Mar 16 2003
From Sergei N. Gladkovskii, Dec 20 2012 and Jan 2013: (Start)
Recursively defined continued fractions:
G.f.: G(0)/(1-x) where G(k) = 1 - 2*x*(k + 1)/((2*k + 1)*(2*x*k + x - 1) - x*(2*k + 1)*(2*k + 3)*(2*x*k + x - 1)/(x*(2*k + 3) - 2*(k + 1)*(2*x*k + 2*x - 1)/G(k+1))).
G.f.: (G(0) - 1)/(1 - x) where G(k) = 1 + (1 - x)/(1 - x*(k + 1))/(1 - x/(x + (1 -x)/G(k+1))).
G.f.: (S - 1)/(1 - x), where S = (1/(1 - x)) * Sum_{k>=0} ((1 + (1 - x)/(1 - x -x*k))*x^k / Product_{i=1..k-1} (1 - x - x*i)).
G.f.: ((G(0) - 2)/(2*x - 1) - 1)/(1 - x)/x where G(k) = 2 - 1/(1 - k*x)/(1 - x/(x - 1/G(k+1))).
G.f.: 1/(G(0) - x)/(1 - x), where G(k) = 1 - x*(k + 1)/(1 - x/G(k+1)). (End)
a(n) ~ Bell(n) / (1 - LambertW(n)/n). - Vaclav Kotesovec, Jul 28 2021
a(n) = (1/e)*Sum_{k>=1} (k^n - 1)/((k - 1)*(k - 1)!). - Joseph Wheat, Jul 16 2024
MAPLE
seq(add(add(Stirling2(k, j), j=1..k), k=1..n), n=1..23); # Zerinvary Lajos, Dec 04 2007
MATHEMATICA
Accumulate[Table[BellB[n], {n, 40}]] (* Vladimir Joseph Stephan Orlovsky, Jul 06 2011 *)
CROSSREFS
KEYWORD
nonn,easy,nice
AUTHOR
STATUS
approved