OFFSET
1,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
FORMULA
T(n,k) = binomial(k+2,3)*binomial(n+2,3), k >= 1, n >= 1.
EXAMPLE
Northwest corner:
1, 4, 10, 20, 35
4, 16, 40, 80, 140
10, 40, 100, 200, 350
20, 80, 200, 400, 700
MATHEMATICA
TableForm[Table[f[n, k], {n, 1, 10}, {k, 1, 15}]] (* A098358 *)
Table[f[n-k+1, k], {n, 14}, {k, n, 1, -1}]//Flatten
s[n_, k_]:=Sum[f[i, j], {i, 1, n}, {j, 1, k}]; (* accumulation array of {f(n, k)} *)
FullSimplify[s[n, k]] (* formula for A185904 *)
TableForm[Table[s[n, k], {n, 1, 10}, {k, 1, 15}]] (* A185904 *)
Table[s[n-k+1, k], {n, 14}, {k, n, 1, -1}]//Flatten
T[n_, k_] := Binomial[k + 2, 3]*Binomial[n + 2, 3]; Table[T[n - k + 1, k], {n, 10}, {k, n, 1, -1}] // Flatten (* G. C. Greubel, Jul 22 2017 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Feb 06 2011
STATUS
approved