OFFSET
11,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 11..750
MAPLE
b:= proc(n, i, t, k) option remember; `if`(n=0, 1,
`if`(i<1, 0, add(binomial(b((i-1)$2, k$2)+j-1, j)*
b(n-i*j, i-1, t-j, k), j=0..min(t, n/i))))
end:
a:= n-> b(n-1$2, 10$2) -`if`(k=0, 0, b(n-1$2, 9$2)):
seq(a(n), n=11..40);
MATHEMATICA
b[n_, i_, t_, k_] := b[n, i, t, k] = If[n == 0, 1, If[i < 1, 0, Sum[Binomial[b[i - 1, i - 1, k, k] + j - 1, j]* b[n - i*j, i - 1, t - j, k], {j, 0, Min[t, n/i]}]] // FullSimplify] ; a[n_] := b[n - 1, n - 1, 10, 10] - If[n == 0, 0, b[n - 1, n - 1, 9, 9]]; Table[a[n], {n, 11, 40}] (* Jean-François Alcover, Feb 09 2015, after Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joerg Arndt and Alois P. Heinz, Jun 27 2014
STATUS
approved