OFFSET
1,2
COMMENTS
Sum of entries in row n = 1 + (n-1)*2^n = A000337(n).
LINKS
G. C. Greubel, Rows n = 1..100 of triangle, flattened
EXAMPLE
First few rows of the triangle:
1;
2, 3;
3, 9, 5;
4, 18, 20, 7;
5, 30, 50, 35, 9;
6, 45, 100, 105, 54, 11;
...
MAPLE
T:=(n, k)->(2*k-1)*binomial(n, k): for n from 1 to 12 do seq(T(n, k), k=1..n) od; # yields sequence in triangular form
MATHEMATICA
Table[(2*k-1)*Binomial[n, k], {n, 12}, {k, n}]//Flatten (* G. C. Greubel, Nov 19 2019 *)
PROG
(PARI) for(n=1, 12, for(k=1, n, print1((2*k-1)*binomial(n, k), ", "))) \\ G. C. Greubel, Jun 08 2017
(Magma) [(2*k-1)*Binomial(n, k): k in [1..n], n in [1..12]]; // G. C. Greubel, Nov 19 2019
(Sage) [[(2*k-1)*binomial(n, k) for k in (1..n)] for n in (1..12)] # G. C. Greubel, Nov 19 2019
(GAP) Flat(List([1..12], n-> List([1..n], k-> (2*k-1)*Binomial(n, k) ))); # G. C. Greubel, Nov 19 2019
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Nov 12 2006
EXTENSIONS
Edited by N. J. A. Sloane, Nov 29 2006
STATUS
approved