Number of length n arrays of permutations of 0..n-1 with each element moved by -9 to 9 places and the average of every three consecutive elements is never greater than the median of the previous three elements.

A263735

Number of length n arrays of permutations of 0..n-1 with each element moved by -9 to 9 places and the average of every three consecutive elements is never greater than the median of the previous three elements.

Terms

    a(0) =1a(1) =2a(2) =6a(3) =14a(4) =38a(5) =127a(6) =411a(7) =1492a(8) =6478a(9) =27635a(10) =82661a(11) =181804a(12) =208161a(13) =250011a(14) =332409a(15) =197430a(16) =232182a(17) =766301a(18) =1721750a(19) =4192748a(20) =12862451a(21) =27041182a(22) =60646776a(23) =169467709a(24) =318026610a(25) =659217772a(26) =1792425472a(27) =3178841364a(28) =6589021611

External references