OFFSET
0,5
COMMENTS
Row sums = A097813: (1, 2, 6, 16, 38, 84, 178, ...).
LINKS
G. C. Greubel, Rows n = 0..100 of triangle, flattened
FORMULA
T(n,k) = 3*binomial(n,k) - 2. - Roger L. Bagula, Aug 20 2008
EXAMPLE
First few rows of the triangle:
1;
1, 1;
1, 4, 1;
1, 7, 7, 1;
1, 10, 16, 10, 1;
1, 13, 28, 28, 13, 1;
1, 16, 43, 58, 43, 16, 1;
...
MAPLE
A131060:= (n, k) -> 3*binomial(n, k)-2; seq(seq(A131060(n, k), k = 0..n), n = 0.. 10); # G. C. Greubel, Mar 12 2020
MATHEMATICA
T[n_, k_] = 3*Binomial[n, k] -2; Table[T[n, k], {n, 0, 10}, {k, 0, n}]//Flatten (* Roger L. Bagula, Aug 20 2008 *)
PROG
(Magma) [3*Binomial(n, k) -2: k in [0..n], n in [0..10]]; // G. C. Greubel, Mar 12 2020
(Sage) [[3*binomial(n, k) -2 for k in (0..n)] for n in (0..10)] # G. C. Greubel, Mar 12 2020
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Jun 13 2007
EXTENSIONS
More terms from Roger L. Bagula, Aug 20 2008
STATUS
approved