OFFSET
0,4
FORMULA
a(n) = floor(sqrt(orderedBell(n))).
MATHEMATICA
FSFromExpSeries[f_, x_, n_] := Map[Floor[Sqrt[#]]&, CoefficientList[Series[f, {x, 0, n}], x]Table[k!, {k, 0, n}]]
FSFromExpSeries[1/(2-Exp[x]), x, 40]
(* second program: *)
Fubini[n_, r_] := Sum[k!*Sum[(-1)^(i+k+r)*(i+r)^(n-r)/(i!*(k-i-r)!), {i, 0, k-r}], {k, r, n}]; Fubini[0, 1] = 1; a[n_] := Fubini[n, 1] // Sqrt // Floor; Table[a[n], {n, 0, 27}] (* Jean-François Alcover, Mar 30 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Emanuele Munarini, Jul 07 2011
STATUS
approved