OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1275 (first 50 rows)
FORMULA
T(n,k) = 2*binomial(n-1-floor(k/2), floor((k-1)/2)) - (-1)^(n+k). - Andrew Howroyd, Sep 08 2018
EXAMPLE
First few rows of the triangle are:
1;
3, 1;
1, 3, 1;
3, 1, 5, 1;
1, 3, 5, 5, 1;
3, 1, 9, 5, 7, 1;
1, 3, 9, 9, 11, 7, 1;
...
PROG
(PARI) T(n, k) = {if(k<=n, 2*binomial(n-1-k\2, (k-1)\2) - (-1)^(n+k), 0)} \\ Andrew Howroyd, Sep 08 2018
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Jul 14 2007
EXTENSIONS
a(28)-a(29) corrected and terms a(56) and beyond from Andrew Howroyd, Sep 08 2018
STATUS
approved