OFFSET
1,2
COMMENTS
Row sums = A133092: (1, 4, 6, 16, 15, 36, 28, ...).
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
FORMULA
EXAMPLE
First few rows of the triangle:
1;
2, 2;
1, 2, 3;
2, 4, 6, 4;
1, 2, 3, 4, 5;
2, 4, 6, 8, 10, 6;
1, 2, 3, 4, 5, 6, 7;
...
MATHEMATICA
T[n_, n_] := n; T[n_, k_] := (2 - (1 - (-1)^n)/2)*k; Table[T[n, k], {n, 1, 10}, {k, 1, n}] (* G. C. Greubel, Oct 21 2017 *)
PROG
(PARI) for(n=1, 10, for(k=1, n, print1(if(k==n, n, (2 - (1 - (-1)^n)/2)*k), ", "))) \\ G. C. Greubel, Oct 21 2017
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Sep 09 2007
EXTENSIONS
Corrected and extended by Philippe Deléham, Mar 02 2012
STATUS
approved