A271584 Irregular triangle read by rows: alternate (k-1)*k, k^2, for k = 0 to n.
0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 1, 4, 0, 0, 2, 6, 0, 1, 4, 9, 0, 0, 2, 6, 12, 0, 1, 4, 9, 16, 0, 0, 2, 6, 12, 20, 0, 1, 4, 9, 16, 25, 0, 0, 2, 6, 12, 20, 30, 0, 1, 4, 9, 16, 25, 36, 0, 0, 2, 6, 12, 20, 30, 42, 0, 1, 4, 9, 16, 25, 36, 49
Offset: 0
Examples
Irregular triangle: 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 1, 4, 0, 0, 2, 6, 0, 1, 4, 9, 0, 0, 2, 6, 12, 0, 1, 4, 9, 16, 0, 0, 2, 6, 12, 20, 0, 1, 4, 9, 16, 25, etc.
Programs
-
Mathematica
Flatten[Transpose /@ Table[{k (k - 1), k^2}, {n, 0, 7}, {k, 0, n}]] (* Michael De Vlieger, Apr 10 2016 *)
Comments