OFFSET
0,5
COMMENTS
Row sums = A131403: (1, 2, 5, 10, 21, 44, 93, ...).
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1274
FORMULA
T(n,k) = 2*binomial(n, k) + 1 - binomial(floor((n + k)/2), k) - binomial(n-floor((k+1)/2), floor(k/2)). - Andrew Howroyd, Aug 09 2018
EXAMPLE
First few rows of the triangle are:
1;
1, 1;
1, 3, 1;
1, 4, 4, 1;
1, 6, 7, 6, 1;
1, 7, 14, 14, 7, 1;
1, 9, 20, 33, 20, 9, 1;
1, 10, 31, 56, 56, 31, 10, 1;
...
PROG
(PARI) T(n, k) = if(k <= n, 2*binomial(n, k) + 1 - binomial((n + k)\2, k) - binomial(n-(k+1)\2, k\2), 0) \\ Andrew Howroyd, Aug 09 2018
CROSSREFS
KEYWORD
AUTHOR
Gary W. Adamson, Jul 07 2007
EXTENSIONS
Missing terms inserted and a(55) and beyond from Andrew Howroyd, Aug 09 2018
STATUS
approved