OFFSET
0,5
COMMENTS
Row sums are: {1, 2, -6, -86, -598, -3414, -17750, -87382, -415062, -1922390, -8738134, ...}.
LINKS
G. C. Greubel, Rows n = 0..100 of triangle, flattened
FORMULA
T(n,k) = q^k + q^(n-k) - q^n, with q = 4.
EXAMPLE
Triangle begins as:
1;
1, 1;
1, -8, 1;
1, -44, -44, 1;
1, -188, -224, -188, 1;
1, -764, -944, -944, -764, 1;
1, -3068, -3824, -3968, -3824, -3068, 1;
1, -12284, -15344, -16064, -16064, -15344, -12284, 1;
MAPLE
q:=4; seq(seq(q^k +q^(n-k) -q^n, k=0..n), n=0..12); # G. C. Greubel, Nov 23 2019
MATHEMATICA
T[n_, k_, q_]:= q^k +q^(n-k) -q^n; Table[T[n, k, 4], {n, 0, 12}, {k, 0, n}]//Flatten (* modified by G. C. Greubel, Nov 23 2019 *)
PROG
(PARI) T(n, k, q) = my(q=4); q^k +q^(n-k) -q^n; \\ G. C. Greubel, Nov 23 2019
(Magma) q:=4; [q^k +q^(n-k) -q^n : k in [0..n], n in [0..12]]; // G. C. Greubel, Nov 23 2019
(Sage) q=4; [[q^k +q^(n-k) -q^n for k in (0..n)] for n in (0..12)] # G. C. Greubel, Nov 23 2019
(GAP) q:=4;; Flat(List([0..12], n-> List([0..n], k-> q^k +q^(n-k) -q^n ))); # G. C. Greubel, Nov 23 2019
CROSSREFS
KEYWORD
sign,tabl
AUTHOR
Roger L. Bagula, Apr 12 2010
EXTENSIONS
Edited by G. C. Greubel, Nov 23 2019
STATUS
approved