OFFSET
1,5
FORMULA
a(1)=a(2)=1 and for n>2: a(n)=0 if n=2*k, a(n)=k!^2 if n=2*k+1. - Herman Jamke (hermanjamke(AT)fastmail.fm), May 14 2007
PROG
(PARI) a(n)={my(A=matrix(n, n, i, j, 1-((i-1)*n+j)%2)); A[1, 1]=1; matpermanent(A)} \\ Herman Jamke (hermanjamke(AT)fastmail.fm), May 14 2007
(PARI) a(n)=if(n==2, 1, if(n%2, ((n-1)/2)!^2)) \\ Herman Jamke (hermanjamke(AT)fastmail.fm), May 14 2007
CROSSREFS
KEYWORD
nonn
AUTHOR
Simone Severini, Sep 25 2005
EXTENSIONS
Corrected and extended by Herman Jamke (hermanjamke(AT)fastmail.fm), May 14 2007
STATUS
approved