OFFSET
0
COMMENTS
LINKS
Boris Putievskiy, Transformations (of) Integer Sequences And Pairing Functions, 2012, arXiv:1212.2732 [math.CO], 2012.
FORMULA
EXAMPLE
Triangle begins
1;
0, 1;
0, -1, 1;
0, 0, -1, 1;
0, 0, 1, -1, 1;
0, 0, 0, 1, -1, 1;
0, 0, 0, -1, 1, -1, 1;
0, 0, 0, 0, -1, 1, -1, 1;
0, 0, 0, 0, 1, -1, 1, -1, 1;
0, 0, 0, 0, 0, 1, -1, 1, -1, 1;
0, 0, 0, 0, 0, -1, 1, -1, 1, -1, 1;
0, 0, 0, 0, 0, 0, -1, 1, -1, 1, -1, 1;
0, 0, 0, 0, 0, 0, 1, -1, 1, -1, 1, -1, 1;
MATHEMATICA
T[n_, k_] := Boole[n <= 2k] (-1)^(n-k);
Table[T[n, k], {n, 0, 12}, {k, 0, n}] // Flatten (* Jean-François Alcover, Oct 05 2018 *)
PROG
(PARI) T(n, k)=if(n<=2*k, (-1)^(n-k), 0) \\ Charles R Greathouse IV, Dec 28 2011
CROSSREFS
KEYWORD
AUTHOR
Paul Barry, Mar 08 2011
STATUS
approved