OFFSET
9,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 9..451
MAPLE
b:= proc(u, o, c, k) option remember;
`if`(c<0 or c>k, 0, `if`(u+o=0, 1,
add(b(u-j, o-1+j, c+1, k), j=1..u)+
add(b(u+j-1, o-j, c-1, k), j=1..o)))
end:
a:= n-> b(n, 0$2, 9)-b(n, 0$2, 8):
seq(a(n), n=9..25);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jul 01 2018
STATUS
approved