Number of length n arrays of permutations of 0..n-1 with each element moved by -3 to 3 places and every three consecutive elements having its maximum within 3 of its minimum.

A263692

Number of length n arrays of permutations of 0..n-1 with each element moved by -3 to 3 places and every three consecutive elements having its maximum within 3 of its minimum.

Terms

    a(0) =1a(1) =2a(2) =6a(3) =24a(4) =18a(5) =18a(6) =24a(7) =40a(8) =64a(9) =100a(10) =144a(11) =216a(12) =324a(13) =496a(14) =748a(15) =1136a(16) =1712a(17) =2596a(18) =3920a(19) =5940a(20) =8976a(21) =13592a(22) =20548a(23) =31104a(24) =47036a(25) =71184a(26) =107664a(27) =162916a(28) =246432a(29) =372868

External references