OFFSET
1,2
COMMENTS
Row sums = A132899: (1, -7, 8, -22, 23, -45, ...).
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1275 (first 50 rows)
EXAMPLE
First few rows of the triangle:
1;
-2, -5;
3, 0, 5;
-4, -7, -2, -9;
5, 2, 7, 0, 9;
-6, -9, -4, -11, -2, -13;
7, 4, 9, 2, 11, 0, 13;
-8, -11, -6, -13, -4, -15, -2, -17;
9, 6, 11, 4, 13, 2, 15, 0, 7;
...
T(5,3) = 7 = S(5) + S(3) = 5 + 3 - 1.
PROG
(PARI) T(n, k) = if(k<=n, (-1)^(n-1)*n + (-1)^(k-1)*k - 1, 0); \\ Andrew Howroyd, Sep 01 2018
CROSSREFS
KEYWORD
tabl,sign
AUTHOR
Gary W. Adamson, Sep 03 2007
EXTENSIONS
Name clarified and terms a(56) and beyond from Andrew Howroyd, Sep 01 2018
STATUS
approved