OFFSET
1,3
LINKS
G. C. Greubel, Rows n = 1..100 of triangle, flattened
FORMULA
T(n,k) = 2^(k-1) * floor((n-k+2)/2). - G. C. Greubel, Jun 06 2019
EXAMPLE
First few rows of the triangle:
1;
1, 2;
2, 2, 4;
2, 4, 4, 8;
3, 4, 8, 8, 16;
3, 6, 8, 16, 16, 32;
4, 6, 12, 16, 32, 32, 64;
...
MATHEMATICA
Table[2^(k-1)*Floor[(n-k+2)/2], {n, 1, 12}, {k, 1, n}]//Flatten (* G. C. Greubel, Jun 06 2019 *)
PROG
(PARI) {T(n, k) = 2^(k-1)*floor((n-k+2)/2)}; \\ G. C. Greubel, Jun 06 2019
(Magma) [[2^(k-1)*Floor((n-k+2)/2): k in [1..n]]: n in [1..12]]; // G. C. Greubel, Jun 06 2019
(Sage) [[2^(k-1)*floor((n-k+2)/2) for k in (1..n)] for n in (1..12)] # G. C. Greubel, Jun 06 2019
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, May 11 2007
EXTENSIONS
More terms added by G. C. Greubel, Jun 06 2019
STATUS
approved