OFFSET
1,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
FORMULA
T(n,k) = k*(k+1)*n*(n+1)*(k*n-n+2*k+7)/36.
EXAMPLE
Northwest corner:
1....4....10....20....35
3....13...34....70....125
6....28...76....160...290
10...50...140...300...550
15...80...230...500...925
MATHEMATICA
f[n_, k_]:=k(1+k)n(1+n)(7+2k-n+k*n)/36;
TableForm[Table[f[n, k], {n, 1, 10}, {k, 1, 15}]]
Table[f[n-k+1, k], {n, 14}, {k, n, 1, -1}]//Flatten
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Feb 01 2011
STATUS
approved