A113105 Diagonal of square table A113103; also, a(n) equals the n-th term in column 0 of the matrix (n+1)-th power of triangle A113106.
1, 2, 33, 2704, 1082905, 2156566656, 21543117605345, 1081795451307347456, 273019500242348456497329, 346065491936438505902218920448, 2201645604139293737199292995777020545
Offset: 0
Keywords
Programs
-
PARI
{a(n,q=5)=local(M=matrix(n+1,n+1));for(r=1,n+1, for(c=1,r, M[r,c]=if(r==c,1,if(c>1,(M^q)[r-1,c-1])+(M^q)[r-1,c]))); return(if(n<1,0,(M^n)[n,1]))}