|
|
A270758
|
|
Total sum of the sizes of all blocks with maximal element 4 in all set partitions of {1,2,...,n}.
|
|
3
|
|
|
30, 67, 195, 670, 2623, 11437, 54692, 283625, 1581303, 9413380, 59497049, 397402597, 2794008798, 20606565063, 158955946879, 1279119138486, 10712907438835, 93190762200361, 840437752639132, 7844783028326405, 75673025264120531, 753330825335964276
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
4,1
|
|
LINKS
|
|
|
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 - 4]][[2]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|