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

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