OFFSET
1,1
COMMENTS
FORMULA
T(n,k) = 4*T(n,k-1)-6*T(n,k-2)+4*T(n,k-3)-T(n,k-4).
G.f. for row n: f(x)/g(x), where f(x) = x*(2*n - (n-2)*x - (n-1)*x^2) and g(x) = (1-x)^4.
EXAMPLE
Northwest corner (the array is read by falling antidiagonals):
2….9….24…50….90
4….16…39…76…130
6….23…54…102…170
8….30…69…128…210
10…37…84…154…250
12…44…99…180…290
MATHEMATICA
b[n_]:=3n-1; c[n_]:=n;
t[n_, k_]:=Sum[b[k-i]c[n+i], {i, 0, k-1}]
TableForm[Table[t[n, k], {n, 1, 10}, {k, 1, 10}]]
Flatten[Table[t[n-k+1, k], {n, 12}, {k, n, 1, -1}]]
r[n_]:=Table[t[n, k], {k, 1, 60}] (* A213821 *)
Table[t[n, n], {n, 1, 40}] (* A033431 *)
s[n_]:=Sum[t[i, n+1-i], {i, 1, n}]
Table[s[n], {n, 1, 50}] (* A176060 *)
CROSSREFS
KEYWORD
AUTHOR
Clark Kimberling, Jul 04 2012
STATUS
approved