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”).

A129102
Column 2 of triangle A129100; also equals column 0 of matrix power A129100^4.
4
1, 4, 20, 136, 1360, 21204, 537748, 22891448, 1675538928, 214841466180, 48966357498452, 20069542925092392, 14932742187505262032, 20328765555338724571508, 50972424276515393704138196
OFFSET
0,2
PROG
(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])
CROSSREFS
Cf. A129100 (triangle); A129092 (column 0), A129101 (column 1), A129103 (column 3).
Sequence in context: A270665 A330538 A141716 * A129099 A244756 A292932
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Mar 29 2007
STATUS
approved