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

%I #4 Oct 23 2015 11:22:13

%S 1,2,4,10,32,122,544,2770,13102,53324,201822,744369,2681622,9781781,

%T 35830358,134471953,510679902,1948913086,7413069078,28251926154,

%U 106925701022,405357452874,1528103687814,5781674554622,21790410540302

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

%C Column 7 of A263666.

%H R. H. Hardin, <a href="/A263665/b263665.txt">Table of n, a(n) for n = 1..210</a>

%e Some solutions for n=7

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

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

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

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

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

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

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

%Y Cf. A263666.

%K nonn

%O 1,2

%A _R. H. Hardin_, Oct 23 2015