cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A274194 Row sums of the array A274193, defined by 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,3k) for n > 0, k > 1.

Original entry on oeis.org

1, 2, 3, 4, 6, 8, 10, 14, 18, 23, 31, 40, 52, 68, 88, 114, 148, 192, 249, 323, 420, 545, 707, 919, 1191, 1547, 2009, 2606, 3386, 4396, 5707, 7413, 9623, 12496, 16228, 21069, 27363, 35531, 46139, 59920, 77806, 101043, 131215, 170392, 221283, 287355, 373168
Offset: 0

Views

Author

Clark Kimberling, Jun 14 2016

Keywords

Comments

See A274195 for the limit of a(n)/a(n-1).

Examples

			(g(9,k)) = (1,4,4,4,3,2,2,1,1,1), so that a(9) = 23.
		

Crossrefs

Programs

  • 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];