login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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

%I #10 Sep 11 2024 15:44:52

%S 1,3,12,36,383,1560,19162,97680,1804643,4082400,207316912,1186043040,

%T 25595629200,266545072080,6282386337194,26013379392000,

%U 1682187039875545,11884755543091200,396276417247253760,5491416186030297600

%N 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.

%o (PARI) a(n)=my(A=matrix(n,n,i,j,!isprime(n*(i-1)+j))); matpermanent(A) \\ Herman Jamke (hermanjamke(AT)fastmail.fm), May 14 2007

%K nonn

%O 3,2

%A _Simone Severini_, Sep 25 2005

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