OFFSET
10,2
LINKS
MAPLE
b:= proc(n, i, v, k) 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, k)+j-1, j)*
b(n-i*j, i-1, v-j, k), j=0..min(n/i, v)))))
end:
A:= proc(n, k) option remember; `if`(n<2, n,
add(b(n, n+1-j, j, k), j=2..min(n, k)))
end:
a:= n-> A(n, 10)-A(n, 9):
seq(a(n), n=10..40);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Sep 12 2017
STATUS
approved