OFFSET
1,3
COMMENTS
Row sums = A128223: (1, 3, 7, 10, 17, 21, 31, 36, ...).
FORMULA
EXAMPLE
First few rows of the triangle:
1;
1, 2;
3, 1, 3;
1, 4, 1, 4;
5, 1, 5, 1, 5;
1, 6, 1, 6, 1, 6;
7, 1, 7, 1, 7, 1, 7;
...
MATHEMATICA
a128222[n_, k_] := If[EvenQ[n-k], n, 1]/; 1<=k<=n
a128222[r_] := Table[a128222[n, k], {n, 1, r}, {k, 1, n}]
TableForm[a128222[7]] (* triangle *)
Flatten[a128222[10]] (* data *) (* Hartmut F. W. Hoft, Mar 08 2017 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Feb 19 2007
EXTENSIONS
Inserted omitted values a(28) = 7 and a(29) = 1, Hartmut F. W. Hoft, Mar 08 2017
STATUS
approved