OFFSET
0,1
COMMENTS
Sequence identical to half its p-th differences from the second term.
This sequence is the second of a family after A135356.
This triangle looks like a Pascal's triangle without first column, and with signs and with additional right diagonal consisting of 2's. - Michel Marcus, Apr 07 2019
FORMULA
Every row sums to 3. - Jean-François Alcover, Apr 04 2019 (further to a remark e-mailed by Paul Curtz).
EXAMPLE
Triangle begins
3; : A000244 = 1, 3, 9, 27, ... is the main sequence
1, 2; : A001045 = 0, 1, 1, 3, ... is the main sequence
2, -1, 2; : 0, 0, (A007910 = 1, 2, 3, ... ) is the main sequence
3, -3, 1, 2; : 0, 0, 0, 1, 3, 6, 10, 17, ... is the main sequence
4, -6, 4, -1, 2; : A134987 = 0, 0, 0, 0, 1, ... is the main sequence
...
See signatures of linear recurrence of corresponding sequences.
MATHEMATICA
T[n_, k_] := T[n, k] = Which[n == 0, 3, k == n, 2, k == 0, n, k == n-1, (-1)^k, True, T[n-1, k] - T[n-1, k-1]];
Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* Jean-François Alcover, Apr 06 2019 *)
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Paul Curtz, Feb 01 2008
EXTENSIONS
In agreement with author, T(0, 0) = 3 and offset 0 by Michel Marcus, Apr 06 2019
STATUS
approved