OFFSET
6,4
LINKS
Alois P. Heinz, Table of n, a(n) for n = 6..2137
MAPLE
h:= proc(n, m, t, k) option remember; `if`(m=0, binomial(n+t, t),
`if`(n=0, 0, add(h(n-1, m-j, t+1, k), j=1..min(k, m))))
end:
b:= proc(n, i, k) option remember; `if`(n=0, 1, `if`(i<1, 0,
add(b(n-i*j, i-1, k)*h(A(i, k), j, 0, k), j=0..n/i)))
end:
A:= (n, k)-> `if`(n<2, n, b(n-1$2, k)):
a:= n-> (k-> A(n, k)-A(n, k-1))(6):
seq(a(n), n=6..36);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Sep 04 2018
STATUS
approved