Number of permutations p of [n] with no fixed points and displacement of elements restricted by six: 1 <= |p(i)-i| <= 6.

A259779

Number of permutations p of [n] with no fixed points and displacement of elements restricted by six: 1 <= |p(i)-i| <= 6.

Terms

    a(0) =1a(1) =0a(2) =1a(3) =2a(4) =9a(5) =44a(6) =265a(7) =1854a(8) =10860a(9) =55314a(10) =259285a(11) =1178912a(12) =5382017a(13) =25157980a(14) =121727936a(15) =598440744a(16) =2954197380a(17) =14540741660a(18) =71135825805a(19) =345881286126

External references