OFFSET
0,2
COMMENTS
See A274195 for the limit of a(n)/a(n-1).
EXAMPLE
(g(9,k)) = (1,4,4,4,3,2,2,1,1,1), so that a(9) = 23.
MATHEMATICA
z = 150; g[n_, 0] = g[n, 0] = 1;
g[n_, k_] := g[n, k] = If[k > n, 0, g[n - 1, k - 1] + g[n - 1, 3 k]];
t = Table[g[n, k], {n, 0, z}, {k, 0, n}]; w = Map[Total, t];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 14 2016
STATUS
approved