OFFSET
20,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 20..500
MAPLE
b:= proc(n, i, h, v) option remember; `if`(n=0, `if`(v=0, 1, 0),
`if`(i<1 or v<1 or n<v, 0, add(binomial(A(i, min(i-1, h)), j)
*b(n-i*j, i-1, h, v-j), j=0..min(n/i, v))))
end:
A:= proc(n, k) option remember;
`if`(n<2, n, add(b(n-1$2, j$2), j=1..min(k, n-1)))
end:
a:= n-> b(n-1$2, 6$2):
seq(a(n), n=20..55);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jul 12 2014
STATUS
approved