A121427 Main diagonal of rectangular table A121426.
1, 2, 15, 178, 2820, 55410, 1294776, 35003430, 1073540871, 36805249870, 1394346324624, 57831360118800, 2605921998840420, 126757491839620950, 6619466939158637640, 369368127676399990338, 21932876159270004129285
Offset: 0
Keywords
Programs
-
PARI
{a(n)=local(H=Mat(1), B); for(m=1, n+2, B=matrix(m, m); for(i=1, m, for(j=1, i, if(j==i, B[i, j]=1, B[i, j]=(H^i)[i-1, j]); )); H=B); return((H^(n+1))[n+2, 2])}
Formula
Extensions
Edited by N. J. A. Sloane, Oct 30 2008 at the suggestion of R. J. Mathar
Comments