login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Column 2 of triangle A129100; also equals column 0 of matrix power A129100^4.
4

%I #5 Jun 14 2017 00:27:55

%S 1,4,20,136,1360,21204,537748,22891448,1675538928,214841466180,

%T 48966357498452,20069542925092392,14932742187505262032,

%U 20328765555338724571508,50972424276515393704138196

%N Column 2 of triangle A129100; also equals column 0 of matrix power A129100^4.

%o (PARI) a(n)=local(A=Mat(1),B);for(m=1,n+3,B=matrix(m,m);for(r=1,m,for(c=1,r, if(r==c || r==1 || r==2,B[r,c]=1,if(c==1,B[r,1]=sum(i=1,r-1,A[r-1,i]), B[r,c]=(A^(2^(c-1)))[r-c+1,1])); )); A=B); return(A[n+3,3])

%Y Cf. A129100 (triangle); A129092 (column 0), A129101 (column 1), A129103 (column 3).

%K nonn

%O 0,2

%A _Paul D. Hanna_, Mar 29 2007