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”).

Number of permutations p of 1,2,...,n satisfying |p(i+2)-p(i)|<>3 and |p(j+3)-p(j)|<>2 for all i=1..n-2, j=1..n-3.
6

%I #9 Mar 19 2017 16:19:37

%S 1,1,2,6,12,36,174,708,4334,31424,263732,2503296,26844578,316692056,

%T 4090634212,57274447458,863488976620

%N Number of permutations p of 1,2,...,n satisfying |p(i+2)-p(i)|<>3 and |p(j+3)-p(j)|<>2 for all i=1..n-2, j=1..n-3.

%C a(n) is also the number of ways to place n nonattacking pieces rook + leaper[2,3] on an n X n chessboard (in fairy chess the leaper [2,3] is called a zebra).

%H V. Kotesovec, <a href="https://oeis.org/wiki/User:Vaclav_Kotesovec">Number of ways of placing non-attacking queens, kings, bishops and knights</a> (in English and Czech)

%F Asymptotic: a(n)/n! ~ 1/e^4.

%Y Cf. A137774, A189358, A189563, A189564.

%K nonn,more,hard

%O 0,3

%A _Vaclav Kotesovec_, Apr 23 2011