OFFSET
1,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
FORMULA
T(n,k) = k*n*(2*k^2 -3*k +3*k*n -3*n +7)/6, k>=1, n>=1.
EXAMPLE
Northwest corner:
1, 4, 11, 24, 45, ...
2, 10, 28, 60, 110, ...
3, 18, 51, 108, 195, ...
4, 28, 80, 168, 300, ...
...
MATHEMATICA
f[n_, k_] := k*n*(2*k^2 - 3*k + 3*k*n - 3*n + 7)/6; Table[f[n - k + 1, k], {n, 10}, {k, n, 1, -1}] // Flatten (* G. C. Greubel, Jul 21 2017 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Feb 05 2011
STATUS
approved