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

%I #4 Oct 25 2015 07:31:32

%S 1,2,6,14,38,127,411,1492,3949,5100,3673,4157,1576,776,1985,2939,4462,

%T 10245,14916,18883,41021,52695,66751,160187,222729,317410,783368,

%U 1130264,1595369,3761189,5260242,7109813,16798814,23469508,31907340,76564040

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

%C Column 7 of A263736

%H R. H. Hardin, <a href="/A263733/b263733.txt">Table of n, a(n) for n = 1..300</a>

%e Some solutions for n=7

%e ..6....6....6....0....6....6....6....6....1....2....6....6....4....5....5....1

%e ..5....0....4....6....0....4....5....3....6....4....4....4....5....6....6....5

%e ..4....5....5....4....4....3....4....5....3....6....1....5....6....4....0....6

%e ..1....4....2....2....5....5....1....4....0....0....3....3....3....3....4....4

%e ..3....1....3....5....2....0....2....1....4....3....5....0....1....2....3....2

%e ..2....3....0....3....1....1....3....0....5....5....0....2....2....1....1....3

%e ..0....2....1....1....3....2....0....2....2....1....2....1....0....0....2....0

%Y Cf. A263736

%K nonn

%O 1,2

%A _R. H. Hardin_, Oct 25 2015