[go: up one dir, main page]

login
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.
0
1, 2, 33, 2704, 1082905, 2156566656, 21543117605345, 1081795451307347456, 273019500242348456497329, 346065491936438505902218920448, 2201645604139293737199292995777020545
OFFSET
0,2
PROG
(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]))}
CROSSREFS
Sequence in context: A263052 A090335 A302452 * A132567 A269632 A083459
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 14 2005
STATUS
approved