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

A263710

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

Terms

    a(0) =1a(1) =2a(2) =3a(3) =5a(4) =8a(5) =11a(6) =17a(7) =25a(8) =37a(9) =57a(10) =84a(11) =127a(12) =191a(13) =284a(14) =429a(15) =641a(16) =961a(17) =1445a(18) =2161a(19) =3246a(20) =4867a(21) =7293a(22) =10948a(23) =16407a(24) =24609a(25) =36913a(26) =55337a(27) =83009a(28) =124472a(29) =186655

External references