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