|
|
|
|
1, -1, 2, 2, -1, 3, -2, 3, -1, 4, 3, -2, 4, -1, 5, -3, 4, -2, 5, -1, 6, 4, -3, 5, -2, 6, -1, 7, -4, 5, -3, 6, -2, 7, -1, 8, 5, -4, 6, -3, 7, -2, 8, -1, 9, -5, 6, -4, 7, -3, 8, -2, 9, -1, 10
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Row sums = A008794: (1, 1, 4, 4, 9, 9, 16, 16, ...).
Unsigned row sums = the triangular sequence, A000217: (1, 3, 6, 10, ...) by virtue of the fact that each row is a permutation of the natural numbers.
|
|
LINKS
|
|
|
FORMULA
|
T(n,k) = (2k - 1 + (-1)^(n-k)*(2n+1))/4.
|T(n,k)| = (2n+1 + (-1)^(n-k)*(2k-1))/4. (End)
|
|
EXAMPLE
|
Triangle begins:
1;
-1, 2;
2, -1, 3;
-2, 3, -1, 4;
3, -2, 4, -1, 5;
-3, 4, -2, 5, -1, 6;
4, -3, 5, -2, 6, -1, 7;
...
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|