login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098914 Permanent of the n X n (0,1)-matrices with ij-th entry equal to zero iff it is on the diagonal, the first-upper diagonal, the main anti-diagonal or the first-upper antidiagonal. 0
0, 0, 0, 8, 56, 512, 4816, 50336, 572096, 7048832, 93609984, 1333798272, 20304005760, 328957185024, 5652803666688, 102706725572096, 1967499023510528, 39636282097375232, 837750752009506816 (list; graph; refs; listen; history; internal format)
OFFSET

3,4

PROG

(PARI) permRWNb(a)=n=matsize(a)[1]; if(n==1, return(a[1, 1])); sg=1; in=vectorv(n); x=in; x=a[, n]-sum(j=1, n, a[, j])/2; p=prod(i=1, n, x[i]); for(k=1, 2^(n-1)-1, sg=-sg; j=valuation(k, 2)+1; z=1-2*in[j]; in[j]+=z; x+=z*a[, j]; p+=prod(i=1, n, x[i], sg)); return(2*(2*(n%2)-1)*p) for(n=1, 23, a=matrix(n, n, i, j, ((j-i)!=0)&&((j-i)!=1)&&((j+i)!=(n+1))&&((j+i)!=n)); print1(permRWNb(a)", ")) - Herman Jamke (hermanjamke(AT)fastmail.fm), May 14 2007

CROSSREFS

Sequence in context: A001398 A087290 A086787 * A009107 A133671 A154411

Adjacent sequences:  A098911 A098912 A098913 * A098915 A098916 A098917

KEYWORD

nonn

AUTHOR

Simone Severini (simoseve(AT)gmail.com), Oct 17 2004

EXTENSIONS

More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), May 14 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 22:48 EST 2012. Contains 206085 sequences.