A136227 Column 1 of triangle A136225; also equals column 0 of triangle A136230.
1, 4, 26, 232, 2657, 37405, 627435, 12248365, 273211787, 6862775083, 191840407156, 5909873159107, 199002812894375, 7273866200397039, 286882936292798852, 12145886485652450131, 549504341899436759416
Offset: 0
Keywords
Programs
-
PARI
/* Generate using matrix product recurrences of triangle P=A136220: */ {a(n)=local(P=Mat([1,0;1,1]),U,PShR);if(n>0,for(i=0,n+1, PShR=matrix(#P,#P, r,c, if(r>=c,if(r==c,1,if(c==1,0,P[r-1,c-1]))));U=P*PShR^2; U=matrix(#P+1, #P+1, r,c, if(r>=c, if(r<#P+1,U[r,c], if(c==1,(P^3)[ #P,1],(P^(3*c-1))[r-c+1,1])))); P=matrix(#U, #U, r,c, if(r>=c, if(r<#R,P[r,c], (U^c)[r-c+1,1])))));(P^2)[n+2,2]}
Comments