OFFSET
0,5
LINKS
G. C. Greubel, Rows n = 0..50 of the triangle, flattened
FORMULA
T(n, k) = f(n, k) + f(n, n-k) - f(n, n), where f(n, k) = binomial(n*(3*n-1)/2 + k, k).
EXAMPLE
Triangle begins as:
1;
1, 1;
1, -9, 1;
1, -351, -351, 1;
1, -12627, -14398, -12627, 1;
1, -575721, -648906, -648906, -575721, 1;
1, -32468384, -35945819, -36238644, -35945819, -32468384, 1;
MATHEMATICA
f[n_, k_]:= Binomial[n*(3*n-1)/2 + k, k];
T[n_, k_]= f[n, k] + f[n, n-k] - f[n, n];
Table[T[n, k], {n, 0, 12}, {k, 0, n}]//Flatten (* modified by G. C. Greubel, Jul 02 2021 *)
PROG
(Magma)
f:= func< n, k | Binomial(Floor(Binomial(3*n, 2)/3) + k, k) >;
[f(n, k) +f(n, n-k) -f(n, n): k in [0..n], n in [0..12]]; // G. C. Greubel, Jul 02 2021
(Sage)
def f(n, k): return binomial(n*(3*n-1)/2 +k, k)
flatten([[f(n, k) + f(n, n-k) - f(n, n) for k in (0..n)] for n in (0..12)]) # G. C. Greubel, Jul 02 2021
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Roger L. Bagula, Apr 22 2010
EXTENSIONS
Edited by G. C. Greubel, Jul 02 2021
STATUS
approved