OFFSET
1,4
COMMENTS
The triangular array (g(n,k)) at A274193 is defined as follows: g(n,k) = 1 for n >= 0; g(n,k) = 0 if k > n; g(n,k) = g(n-1,k-1) + g(n-1,3) for n > 0, k > 1.
EXAMPLE
Row g(9,k): 1,4,4,4,3,2,2,1,1,1; the reversal is
1,1,1,2,2,3,4,4,4,1,..., which agrees with A274200 up to the first 7 terms.
MATHEMATICA
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]];
z = 300; w = Reverse[Table[g[z, k], {k, 0, z}]];
Take[w, z/3]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 16 2016
STATUS
approved