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

A263662

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

Terms

    a(0) =1a(1) =2a(2) =4a(3) =10a(4) =32a(5) =95a(6) =208a(7) =486a(8) =1064a(9) =2560a(10) =6000a(11) =14636a(12) =33680a(13) =81608a(14) =187488a(15) =454456a(16) =1046368a(17) =2537664a(18) =5840768a(19) =14162704a(20) =32593088a(21) =79031008a(22) =181889408a(23) =441050016a(24) =1015068544a(25) =2461353728a(26) =5664729088a(27) =13735909824a(28) =31612832000a(29) =76655260288

External references