login
A263731
Number of length n arrays of permutations of 0..n-1 with each element moved by -n to n places and the average of every three consecutive elements is never greater than the median of the previous three elements.
0
1, 2, 6, 14, 38, 127, 411, 1492, 6478, 27635, 130093, 695563, 3762131, 21947993, 141325992, 926081758, 6469911674, 48818612195
OFFSET
1,2
COMMENTS
Diagonal of A263736.
EXAMPLE
Some solutions for n=7
..5....5....6....4....0....6....1....1....5....2....5....6....5....6....4....6
..4....6....4....6....5....5....6....6....6....6....6....5....2....0....0....5
..6....0....3....5....6....4....5....4....3....5....2....1....4....5....5....4
..3....4....5....2....3....3....4....2....4....0....3....4....3....4....6....3
..1....3....2....3....4....1....2....5....2....4....4....3....0....2....2....2
..2....1....1....0....2....0....3....3....1....3....0....0....6....1....3....1
..0....2....0....1....1....2....0....0....0....1....1....2....1....3....1....0
CROSSREFS
Cf. A263736.
Sequence in context: A263733 A263734 A263735 * A293742 A299119 A348010
KEYWORD
nonn
AUTHOR
R. H. Hardin, Oct 25 2015
STATUS
approved