OFFSET
0,3
PROG
(PARI) a(n)=local(P, Q, R, W); P=Mat(1); for(m=2, n+1, W=matrix(m, m); for(i=1, m, for(j=1, i, if(i<3 || j==i || j>m-1, W[i, j]=1, if(j==1, W[i, 1]=1, W[i, j]=(P^(3*j-2))[i-j+1, 1])); )); P=W); (P^-1)[n+1, 1]
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna, Nov 15 2005
STATUS
approved