OFFSET
1,2
COMMENTS
Row sums = A032766, congruent to {0,1} (mod 3): (1, 3, 4, 6, 7, 9, 10, ...).
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
EXAMPLE
First few rows of the triangle:
1;
2, 1;
2, 1, 1;
2, 1, 2, 1;
2, 1, 2, 1, 1;
2, 1, 2, 1, 2, 1;
...
MATHEMATICA
T[n_, k_] := If[k == n, 1, 1 + (1 - (-1)^k)/2 ]; 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, 1, 1 + (1-(-1)^k)/2), ", "))) \\ G. C. Greubel, Oct 21 2017
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Sep 08 2007
STATUS
approved