OFFSET
1
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for the first 50 rows, flattened
FORMULA
T(1,k)=1 for k>=1; T(n,n+1)=-1 for n>=2; T(n,k)=0 otherwise; for k>=1, n>=1.
EXAMPLE
Northwest corner:
1, 1, 1, 1, 1, 1, 1
-1, 0, 0, 0, 0, 0, 0
0, -1, 0, 0, 0, 0, 0
0, 0, -1, 0, 0, 0, 0
0, 0, 0, -1, 0, 0, 0
0, 0, 0, 0, -1, 0, 0
MATHEMATICA
f[n_, 0] := 0; f[0, k_] := 0; f[n_, k_] := k - n + 1; f[n_, k_] := 0 /; k < n; w[m_, n_] := f[m, n] + f[m - 1, n - 1] - f[m, n - 1] - f[m - 1, n] /; Or[m > 0, n > 0]; Table[w[n - k + 1, k], {n, 50}, {k, n, 1, -1}] // Flatten
CROSSREFS
KEYWORD
tabl,sign
AUTHOR
Clark Kimberling, Feb 06 2011
STATUS
approved