|
|
A270501
|
|
Sum of the sizes of the ninth blocks in all set partitions of {1,2,...,n}.
|
|
2
|
|
|
1, 47, 1267, 25820, 443249, 6782968, 95737722, 1274661371, 16262852622, 201150251360, 2433394489974, 28994047438464, 342194356303003, 4019284858043011, 47169786677194389, 555004306379162344, 6566292430043177959, 78313245092235242824, 943595956075419339524
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
9,2
|
|
LINKS
|
|
|
MAPLE
|
b:= proc(n, m) option remember; `if`(n=0, [1, 0],
add((p->`if`(j<10, [p[1], p[2]+p[1]*x^j], p))(
b(n-1, max(m, j))), j=1..m+1))
end:
a:= n-> coeff(b(n, 0)[2], x, 9):
seq(a(n), n=9..30);
|
|
MATHEMATICA
|
b[n_, m_] := b[n, m] = If[n == 0, {1, 0}, Sum[Function[p, If[j < 10, {p[[1]], p[[2]] + p[[1]]*x^j}, p]][b[n - 1, Max[m, j]]], {j, 1, m + 1}]];
a[n_] := Coefficient[b[n, 0][[2]], x, 9];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|