167557domain: NAppears in sequencesNumber of length n arrays of permutations of 0..n-1 with each element moved by -8 to 8 places and the average of every three consecutive elements is never greater than the median of the previous three elements.at n=17A263734a(n) = 3*a(n-1) + 10*a(n-2), n >= 2; a(0)=1, a(1)=1.at n=8A320469