Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A110950
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A110950 a(n) = permanent of an n X n matrix M of zeros and ones defined as follows: if we concatenate the rows of M to form a vector v of length n^2, v_i = 0 if i is prime and v_i = 1, otherwise. +0
1
1, 3, 12, 36, 383, 1560, 19162, 97680, 1804643, 4082400, 207316912, 1186043040, 25595629200, 266545072080, 6282386337194, 26013379392000, 1682187039875545, 11884755543091200, 396276417247253760, 5491416186030297600 (list; graph; listen)
OFFSET

3,2

PROGRAM

(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, !isprime(n*(i-1)+j)); print1(permRWNb(a)", ")) - Herman Jamke (hermanjamke(AT)fastmail.fm), May 14 2007

CROSSREFS

Sequence in context: A004661 A074430 A064028 this_sequence A102744 A145951 A083215

Adjacent sequences: A110947 A110948 A110949 this_sequence A110951 A110952 A110953

KEYWORD

nonn

AUTHOR

Simone Severini (ss54(AT)york.ac.uk), Sep 25 2005

EXTENSIONS

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research