login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138057
Triangle read by rows: row n consists of 0 followed by n (n+1)'s with alternating signs.
2
0, 0, -2, 0, -3, 3, 0, -4, 4, -4, 0, -5, 5, -5, 5, 0, -6, 6, -6, 6, -6, 0, -7, 7, -7, 7, -7, 7, 0, -8, 8, -8, 8, -8, 8, -8, 0, -9, 9, -9, 9, -9, 9, -9, 9, 0, -10, 10, -10, 10, -10, 10, -10, 10, -10
OFFSET
0,3
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1325 (rows 0..50 of the triangle, flattened).
FORMULA
T(n,k) = [k>0]*(n+1)*(-1)^k, with n >= 0 and 0 <= k <= n, where [] is the Iverson bracket. - Paolo Xausa, Nov 10 2023
EXAMPLE
From Paolo Xausa, Nov 10 2023: (Start)
Triangle begins:
n\k| 0 1 2 3 4 ...
---+---------------------
0 | 0;
1 | 0, -2;
2 | 0, -3, 3;
3 | 0, -4, 4, -4;
4 | 0, -5, 5, -5, 5;
... (End)
MATHEMATICA
Array[Join[{0}, (-1)^Range[#](#+1)]&, 15, 0] (* Paolo Xausa, Nov 10 2023 *)
CROSSREFS
Cf. A131738.
Sequence in context: A369280 A127449 A328911 * A053727 A265208 A265020
KEYWORD
tabl,sign
AUTHOR
Paul Curtz, May 02 2008
STATUS
approved