editing
approved
editing
approved
(PARI) {a(n)=local(A, B); A=Mat(1); for(m=2, n+4, 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[n+4, 4]}
approved
editing
_Paul D. Hanna (pauldhanna(AT)juno.com), _, Nov 13 2005
nonn,new
nonn
Paul D . Hanna (pauldhanna(AT)juno.com), Nov 13 2005
1, 10, 190, 4945, 163705, 6617605, 317416204, 17677189426, 1123660618048, 80411135580587, 6405386721320372, 562632770359355432, 54061761393693393203, 5643864294810397451552, 636388356169482970183598
0,2
(PARI) {a(n)=local(A, B); A=Mat(1); for(m=2, n+4, 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[n+4, 4]}
nonn
Paul D Hanna (pauldhanna(AT)juno.com), Nov 13 2005
approved