OFFSET
0,4
COMMENTS
Diagonals correspond to rows of A117438.
LINKS
G. C. Greubel, Rows n = 0..50 of the triangle, flattened
FORMULA
Number triangle whose k-th column has e.g.f. (x^k/k!)*cos(2x);
T(n, k) = binomial(n,k) * (-4)^((n-k)/2) * (1+(-1)^(n-k))/2.
Sum_{k=0..n} T(n, k) = A006495(n).
Sum_{k=0..floor(n/2)} T(n-k, k) = i^n * ((1+(-1)^n)/2) * (2*floor(n/2) + 1). - G. C. Greubel, Jun 01 2021
EXAMPLE
Triangle begins:
1;
0, 1;
-4, 0, 1;
0, -12, 0, 1;
16, 0, -24, 0, 1;
0, 80, 0, -40, 0, 1;
-64, 0, 240, 0, -60, 0, 1;
MATHEMATICA
T[n_, k_]:= Binomial[n, k]*(2*I)^(n-k)*(1+(-1)^(n+k))/2;
Table[T[n, k], {n, 0, 12}, {k, 0, n}]//Flatten (* G. C. Greubel, Jun 01 2021 *)
PROG
(Sage) flatten([[binomial(n, k)*(2*i)^(n-k)*(1+(-1)^(n+k))/2 for k in (0..n)] for n in (0..12)]) # G. C. Greubel, Jun 01 2021
CROSSREFS
KEYWORD
AUTHOR
Paul Barry, Mar 16 2006
STATUS
approved