OFFSET
0,4
LINKS
MAPLE
b:= proc(n, i, v) option remember; `if`(n=0,
`if`(v=0, 1, 0), `if`(i<1 or v<1 or n<v, 0,
`if`(v=n, 1, add(binomial(a(i)+j-1, j)*
b(n-i*j, i-1, v-j), j=0..min(n/i, v)))))
end:
a:= proc(n) option remember; `if`(n<2, n,
add(b(n, n+1-j, j), j=2..min(n, 4)))
end:
seq(a(n), n=0..35);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Sep 11 2017
STATUS
approved