OFFSET
0,2
COMMENTS
Row sums = A000079(n+1), n>0.
Warning: row sums are not A046055! - N. J. A. Sloane, Jul 08 2009
Row sums = A151821(n+1), n>=0. - Alois P. Heinz, Jul 13 2009
LINKS
Alois P. Heinz, Rows n = 0..140, flattened
EXAMPLE
First few rows of the triangle:
1;
3, 1;
2, 5, 1;
2, 6, 7, 1;
2, 8, 12, 9, 1;
2, 10, 20, 20, 11, 1;
...
MAPLE
T:= (n, m)-> 2*binomial(n, m) -(-1)^(n+m)*`if`(n=m or n=m+1, 1, 0): seq(seq(T(n, m), m=0..n), n=0..12); # Alois P. Heinz, Jul 13 2009
MATHEMATICA
T[n_, m_] := 2*Binomial[n, m] - (-1)^(n+m)*If[n == m || n == m+1, 1, 0];
Table[Table[T[n, m], {m, 0, n}], {n, 0, 12}] // Flatten (* Jean-François Alcover, May 19 2016, translated from Maple *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Jun 16 2007
EXTENSIONS
Edited by N. J. A. Sloane and R. J. Mathar, Jul 09 2009
Corrected and extended by Alois P. Heinz, Jul 13 2009
Definition simplified by Georg Fischer, Jun 07 2023
STATUS
approved