Number of length n arrays of permutations of 0..n-1 with each element moved by -3 to 3 places and with no two consecutive increases or two consecutive decreases.

A263661

Number of length n arrays of permutations of 0..n-1 with each element moved by -3 to 3 places and with no two consecutive increases or two consecutive decreases.

Terms

    a(0) =1a(1) =2a(2) =4a(3) =10a(4) =22a(5) =40a(6) =70a(7) =133a(8) =254a(9) =482a(10) =902a(11) =1710a(12) =3214a(13) =6094a(14) =11446a(15) =21702a(16) =40766a(17) =77294a(18) =145190a(19) =275286a(20) =517102a(21) =980446a(22) =1841686a(23) =3491910a(24) =6559262a(25) =12436622a(26) =23361158a(27) =44293686a(28) =83201998a(29) =157754302

External references