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

A263691

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

Terms

    a(0) =1a(1) =2a(2) =6a(3) =14a(4) =14a(5) =16a(6) =22a(7) =36a(8) =56a(9) =85a(10) =125a(11) =189a(12) =285a(13) =434a(14) =655a(15) =993a(16) =1499a(17) =2271a(18) =3432a(19) =5197a(20) =7857a(21) =11893a(22) =17985a(23) =27218a(24) =41167a(25) =62293a(26) =94227a(27) =142571a(28) =215672a(29) =326309

External references