OFFSET
0,5
FORMULA
T(n,k) = 3*C(n,k)-2*(C(n,k-n)+C(n,-k)-C(0,n+k)), 0<=k<=n. [Eric Werley, Jul 01 2011]
EXAMPLE
First few rows of the triangle are:
1;
1, 1;
1, 6, 1;
1, 9, 9, 1;
1, 12, 18, 12, 1;
1, 15, 30, 30, 15, 1;
1, 28, 45, 60, 45, 18, 1;
...
PROG
(PARI) T(n, k) = my(bnk = binomial(n, k)); 3*bnk - 2*(bnk==1); \\ Michel Marcus, Jun 16 2022
CROSSREFS
KEYWORD
AUTHOR
Gary W. Adamson, Aug 08 2007
EXTENSIONS
Corrected and extended by Roger L. Bagula, Nov 02 2008
STATUS
approved