A113374 Triangle, read by rows, equal to the matrix square of A113370. Also given by the product: P^2 = Q*(R^-2)*Q^3, using triangular matrices P=A113370, Q=A113381 and R=A113389.
1, 2, 1, 6, 8, 1, 37, 84, 14, 1, 429, 1296, 252, 20, 1, 7629, 27850, 5957, 510, 26, 1, 185776, 784146, 179270, 16180, 858, 32, 1, 5817106, 27630378, 6641502, 623115, 34125, 1296, 38, 1, 224558216, 1177691946, 294524076, 28470525, 1599091, 61952
Offset: 0
Examples
Triangle A113370^2 begins: 1; 2,1; 6,8,1; 37,84,14,1; 429,1296,252,20,1; 7629,27850,5957,510,26,1; 185776,784146,179270,16180,858,32,1; 5817106,27630378,6641502,623115,34125,1296,38,1; 224558216,1177691946,294524076,28470525,1599091,61952,1824,44,1;
Crossrefs
Programs
-
PARI
T(n,k)=local(A,B);A=Mat(1);for(m=2,n+1,B=matrix(m,m); for(i=1,m, for(j=1,i,if(i<3 || j==i || j>m-1,B[i,j]=1,if(j==1, B[i,1]=1,B[i,j]=(A^(3*j-2))[i-j+1,1]));));A=B);(A^2)[n+1,k+1]