OFFSET
0,3
REFERENCES
P. R. Stein, personal communication.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..100
P. R. Stein & N. J. A. Sloane, Correspondence, 1975
MAPLE
b:= proc(u, o, t) option remember; `if`(u+o=0, 1, add(`if`(
t=5, b(o-j, u+j-1, 1), b(u+j-1, o-j, t+1)), j=1..o))
end:
a:= n-> b(0, 5*n+1, 0):
seq(a(n), n=0..10); # Alois P. Heinz, Jul 02 2015
MATHEMATICA
k = 5; b[u_, o_, t_] := b[u, o, t] = If[u + o == 0, 1, Sum[If[t == k, b[o - j, u + j - 1, 1], b[u + j - 1, o - j, t + 1]], {j, 1, o}]]; Array[b[0, k # + 1, 0] &, 10] (* Michael De Vlieger, Oct 15 2017, after Jean-François Alcover at A005983 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 28 2015
EXTENSIONS
More terms from Alois P. Heinz, Jul 02 2015
STATUS
approved