A270764 Total sum of the sizes of all blocks with maximal element 10 in all set partitions of {1,2,...,n}.
306298, 1416047, 7182335, 39465366, 232773295, 1463322425, 9749390152, 68521246341, 506044752411, 3914022281500, 31613966755737, 265988973944593, 2326016924813242, 21099313483973011, 198180280866810827, 1924398094428234590, 19290427455201221715
Offset: 10
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 10..577
- Wikipedia, Partition of a set
Programs
-
Mathematica
b[n_, m_, t_] := b[n, m, t] = If[n == 0, {1, 0}, Sum[If[t == 1 && j != m + 1, 0, Function[p, p + If[j == -t || t == 1 && j == m + 1, {0, p[[1]]}, 0]][b[n - 1, Max[m, j], If[t == 1 && j == m + 1, -j, If[t < 0, t, If[t > 0, t - 1, 0]]]]]], {j, 1, m + 1}]]; a[n_] := b[n, 0, Max[0, 1 + n - 10]][[2]]; Array[a, 24, 10] (* Jean-François Alcover, May 26 2018, from Maple code for A270701 *)