Number of permutations of a sequence of length n such that there are no fixed points, and no term is next to a term it was next to originally.

A288208

Number of permutations of a sequence of length n such that there are no fixed points, and no term is next to a term it was next to originally.

Terms

    a(0) =1a(1) =0a(2) =0a(3) =0a(4) =2a(5) =2a(6) =27a(7) =214a(8) =1695a(9) =15482a(10) =159019a(11) =1775664a(12) =21542628a(13) =282722448a(14) =3989526469a(15) =60239477384a(16) =969280731152

External references