A125803 Column 5 of table A125800; also equals row sums of matrix power A078122^5.
1, 6, 51, 861, 32856, 3013980, 690729981, 406279238154, 625750288074015, 2563196032703643450, 28270494794022487841733, 848050124165724284639262951, 69769378541879435090796205851249
Offset: 0
Keywords
Programs
-
PARI
a(n)=local(p=5,q=3,A=Mat(1), B); for(m=1, n+1, B=matrix(m, m); for(i=1, m, for(j=1, i, if(j==i || j==1, B[i, j]=1, B[i, j]=(A^q)[i-1, j-1]); )); A=B); return(sum(c=0,n,(A^p)[n+1,c+1]))
Comments