cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A118435 Triangle T, read by rows, equal to the matrix product T = H*[C^-1]*H, where H is the self-inverse triangle A118433 and C is Pascal's triangle.

This page as a plain text file.
%I A118435 #9 Apr 08 2024 09:21:26
%S A118435 1,1,1,-3,2,1,-11,15,3,1,25,-44,-18,4,1,41,-115,-110,50,5,1,-43,246,
%T A118435 375,-220,-45,6,1,29,315,861,-805,-385,105,7,1,-335,232,-1204,2296,
%U A118435 1750,-616,-84,8,1,-1199,3033,1044,3780,5166,-2898,-924,180,9,1
%N A118435 Triangle T, read by rows, equal to the matrix product T = H*[C^-1]*H, where H is the self-inverse triangle A118433 and C is Pascal's triangle.
%C A118435 The matrix inverse of H*[C^-1]*H is H*C*H = A118438, where H^2 = I (identity). The matrix log, log(T) = A118441, is a matrix square root of a triangular matrix with a single diagonal (two rows down from the main diagonal).
%F A118435 Since T + T^-1 = C + C^-1, then [T^-1](n,k) = (1+(-1)^(n-k))*C(n,k) - T(n,k) is a formula for the matrix inverse T^-1 = A118438.
%e A118435 Triangle begins:
%e A118435   1;
%e A118435   1, 1;
%e A118435   -3, 2, 1;
%e A118435   -11, 15, 3, 1;
%e A118435   25,-44,-18, 4, 1;
%e A118435   41,-115,-110, 50, 5, 1;
%e A118435   -43, 246, 375,-220,-45, 6, 1;
%e A118435   29, 315, 861,-805,-385, 105, 7, 1;
%e A118435   -335, 232,-1204, 2296, 1750,-616,-84, 8, 1;
%e A118435   -1199, 3033, 1044, 3780, 5166,-2898,-924, 180, 9, 1;
%e A118435   ...
%e A118435 The matrix log, log(T) = A118441, starts:
%e A118435   0;
%e A118435   1, 0;
%e A118435   -4, 2, 0;
%e A118435   -12, 12, 3, 0;
%e A118435   32,-48,-24, 4, 0;
%e A118435   80,-160,-120, 40, 5, 0;
%e A118435   ...
%e A118435 where matrix square, log(T)^2, is a single diagonal:
%e A118435   0;
%e A118435   0,0;
%e A118435   2,0,0;
%e A118435   0,6,0,0;
%e A118435   0,0,12,0,0;
%e A118435   0,0,0,20,0,0;
%e A118435   ...
%t A118435 nmax = 12;
%t A118435 h[n_, k_] := Binomial[n, k]*(-1)^(Quotient[n+1, 2] - Quotient[k, 2]+n-k);
%t A118435 H = Table[h[n, k], {n, 0, nmax}, {k, 0, nmax}];
%t A118435 Cn = Table[Binomial[n, k], {n, 0, nmax}, {k, 0, nmax}];
%t A118435 Tn = H.Inverse[Cn].H;
%t A118435 T[n_, k_] := Tn[[n+1, k+1]];
%t A118435 Table[T[n, k], {n, 0, nmax}, {k, 0, n}] // Flatten (* _Jean-François Alcover_, Apr 08 2024 *)
%o A118435 (PARI) {T(n,k)=local(M=matrix(n+1,n+1,r,c,if(r>=c,binomial(r-1,c-1)*(-1)^(r\2- (c-1)\2+r-c))),C=matrix(n+1,n+1,r,c,if(r>=c,binomial(r-1,c-1))));(M*C^-1*M)[n+1,k+1]}
%Y A118435 Cf. A118436 (column 0), A118437 (row sums), A118438 (matrix inverse), A118441 (matrix log), A118433 (self-inverse H).
%K A118435 sign,tabl
%O A118435 0,4
%A A118435 _Paul D. Hanna_, Apr 28 2006