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.

A135888 Triangle, read by rows, equal to the matrix cube of triangle P = A135880.

This page as a plain text file.
%I A135888 #2 Mar 30 2012 18:37:07
%S A135888 1,3,1,12,6,1,63,39,9,1,421,300,81,12,1,3472,2741,816,138,15,1,34380,
%T A135888 29380,9366,1716,210,18,1,399463,363922,122148,23647,3105,297,21,1,
%U A135888 5344770,5135894,1795481,362116,49880,5088,399,24,1,81097517,81557270
%N A135888 Triangle, read by rows, equal to the matrix cube of triangle P = A135880.
%C A135888 Matrix square equals triangle A135893.
%e A135888 Triangle P^3 begins:
%e A135888 1;
%e A135888 3, 1;
%e A135888 12, 6, 1;
%e A135888 63, 39, 9, 1;
%e A135888 421, 300, 81, 12, 1;
%e A135888 3472, 2741, 816, 138, 15, 1;
%e A135888 34380, 29380, 9366, 1716, 210, 18, 1;
%e A135888 399463, 363922, 122148, 23647, 3105, 297, 21, 1;
%e A135888 5344770, 5135894, 1795481, 362116, 49880, 5088, 399, 24, 1;
%e A135888 81097517, 81557270, 29478724, 6138746, 875935, 93306, 7770, 516, 27, 1;
%e A135888 where P = A135880 begins:
%e A135888 1;
%e A135888 1, 1;
%e A135888 2, 2, 1;
%e A135888 6, 7, 3, 1;
%e A135888 25, 34, 15, 4, 1;
%e A135888 138, 215, 99, 26, 5, 1;
%e A135888 970, 1698, 814, 216, 40, 6, 1; ...
%e A135888 where column k of P^2 equals column 0 of P^(2k+2)
%e A135888 such that column 0 of P^2 equals column 0 of P shift left.
%o A135888 (PARI) {T(n,k)=local(P=Mat(1),R,PShR);if(n>0,for(i=0,n, PShR=matrix(#P,#P, r,c, if(r>=c,if(r==c,1,if(c==1,0,P[r-1,c-1]))));R=P*PShR; R=matrix(#P+1, #P+1, r,c, if(r>=c, if(r<#P+1,R[r,c], if(c==1,(P^2)[ #P,1],(P^(2*c-1))[r-c+1,1])))); P=matrix(#R, #R, r,c, if(r>=c, if(r<#R,P[r,c], (R^c)[r-c+1,1])))));(P^3)[n+1,k+1]}
%Y A135888 Cf. columns: A135889, A135890; related tables: A135880 (P), A135894 (R), A135893 (P^6).
%K A135888 nonn,tabl
%O A135888 0,2
%A A135888 _Paul D. Hanna_, Dec 15 2007