OFFSET
1,2
FORMULA
T(n, m) = (Sum_{i=1..n-m}(2*i+1)*U(n-i-1, m-1)) + (Sum_{i=1..m} (2*i+1)*U(n-2, m-i)) - U(n-2, m-1) where U(n, m) = A008288(n, m). - Floor van Lamoen, Aug 16 2001
MAPLE
MATHEMATICA
nmax = 11; a[1, k_] := k; a[n_, 1] := n; a[n_, k_] := a[n, k] = a[n-1, k-1] + a[n, k-1] + a[n-1, k]; Flatten[ Table[ a[n-k+1, k], {n, 1, nmax}, {k, 1, n}]] (* Jean-François Alcover, Feb 10 2012 *)
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved