Number of permutations p of [n] such that |p(i) - p(i-1)| is in {2,5} for all i from 2 to n.

A307269

Number of permutations p of [n] such that |p(i) - p(i-1)| is in {2,5} for all i from 2 to n.

Terms

    a(0) =1a(1) =1a(2) =0a(3) =0a(4) =0a(5) =0a(6) =2a(7) =14a(8) =12a(9) =8a(10) =28a(11) =58a(12) =44a(13) =120a(14) =254a(15) =226a(16) =344a(17) =932a(18) =1262a(19) =1380a(20) =2958a(21) =5006a(22) =5632a(23) =9496a(24) =18204a(25) =23756a(26) =32758a(27) =59992a(28) =90494a(29) =118740

External references