A095832 Triangle read by rows: T(n,k) = (n-k+1)*(n-k), n>=1, 1<=k<=n.
0, 2, 0, 6, 2, 0, 12, 6, 2, 0, 20, 12, 6, 2, 0, 30, 20, 12, 6, 2, 0, 42, 30, 20, 12, 6, 2, 0, 56, 42, 30, 20, 12, 6, 2, 0, 72, 56, 42, 30, 20, 12, 6, 2, 0, 90, 72, 56, 42, 30, 20, 12, 6, 2, 0, 110, 90, 72, 56, 42, 30, 20, 12, 6, 2, 0, 132, 110, 90, 72, 56, 42, 30, 20, 12, 6, 2, 0
Offset: 1
Examples
Triangle begins: 0; 2, 0; 6, 2, 0; 12, 6, 2, 0; 20, 12, 6, 2, 0; ...
Links
- Michel Marcus, Rows n=1..100 of triangle, flattened (terms 1..1000 from Harvey P. Dale)
Crossrefs
Cf. A002378.
Programs
-
Mathematica
Table[(n-k+1)(n-k),{n,20},{k,n}]//Flatten (* Harvey P. Dale, Apr 17 2016 *)