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”).

A132108
Triangle T(n,k) = binomial(n,k)+n-k read by rows.
2
1, 2, 1, 3, 3, 1, 4, 5, 4, 1, 5, 7, 8, 5, 1, 6, 9, 13, 12, 6, 1, 7, 11, 19, 23, 17, 7, 1, 8, 13, 26, 39, 38, 23, 8, 1, 9, 15, 34, 61, 74, 59, 30, 9, 1, 10, 17, 43, 90, 131, 130, 87, 38, 10, 1
OFFSET
0,2
LINKS
FORMULA
T(n,k) = A007318(n,k) + A002024(n,k) - A002260(n,k).
EXAMPLE
First few rows of the triangle are:
1;
2, 1;
3, 3, 1;
4, 5, 4, 1;
5, 7, 8, 5, 1;
6, 9, 13, 12, 6, 1;
7, 11, 19, 23, 17, 7, 1;
...
MATHEMATICA
Table[Binomial[n, k]+n-k, {n, 0, 10}, {k, 0, n}]//Flatten (* Harvey P. Dale, Mar 08 2018 *)
PROG
(Magma) /* As triangle: */ [[Binomial(n, k)+n-k: k in [0..n]]: n in [0.. 15]]; // Vincenzo Librandi, May 23 2016
CROSSREFS
Cf. A007318, A002024, A002260, A132109 (row sums).
Sequence in context: A208721 A208777 A104732 * A377000 A210489 A344821
KEYWORD
nonn,easy,tabl
AUTHOR
Gary W. Adamson, Aug 09 2007
STATUS
approved