|
|
A270757
|
|
Total sum of the sizes of all blocks with maximal element 3 in all set partitions of {1,2,...,n}.
|
|
3
|
|
|
9, 16, 41, 127, 456, 1845, 8257, 40338, 212983, 1205911, 7275802, 46534535, 314117861, 2229489144, 16584674293, 128934314027, 1044976711816, 8809644039105, 77101357474077, 699264675713410, 6561367477780443, 63603478257343891, 636087039930484642
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
3,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 - 3]][[2]];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|