OFFSET
0,4
LINKS
P. Catarino and A. Borges, A Note on Incomplete Leonardo Numbers, INTEGERS 20A (2020) A43.
FORMULA
T(n, floor(n/2)) = A001595(n).
EXAMPLE
Triangle begins:
1;
1;
1, 3;
1, 5;
1, 7, 9;
1, 9, 15;
1, 11, 23, 25;
1, 13, 33, 41;
1, 15, 45, 65, 67;
1, 17, 59, 99, 109;
...
MATHEMATICA
T[n_, k_] := 2 * Sum[Binomial[n - j, j], {j, 0, k}] - 1; Table[T[n, k], {n, 0, 14}, {k, 0, Floor[n/2]}] // Flatten (* Amiram Eldar, Nov 28 2020 *)
PROG
(PARI) T(n, k) = 2*sum(j=0, k, binomial(n-j, j)) -1;
row(n) = vector(n\2+1, k, k--; T(n, k));
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Michel Marcus, Nov 28 2020
STATUS
approved