login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of circular permutations with exactly one specified increasing or decreasing modular run (3-sequence), with clockwise and counterclockwise traversals not counted as distinct.
6

%I #28 Jan 05 2019 01:32:45

%S 0,0,0,0,1,2,11,62,408,3056,25821,242802,2517303,28540102,351383192,

%T 4669815008,66640974977,1016522211474,16507095990251,284343231536742,

%U 5178919228252440

%N Number of circular permutations with exactly one specified increasing or decreasing modular run (3-sequence), with clockwise and counterclockwise traversals not counted as distinct.

%C Arrangements that differ only in the direction in which the cycle is traversed do not count as different.

%C This sequence is the same as for straight permutations of {0,1,...,n} that begin with {0,1} and end with {n-1,n} but have no increasing or decreasing 3-sequence, viz., the sequence b(0,1...n-2,n-1) in Dymáček and Lambert.

%D Paul J. Campbell, Circular permutations with exactly one modular run (3-sequence), submitted to Journal of Integer Sequences

%H Wayne M. Dymáček and Isaac Lambert, <a href="http://www.cs.uwaterloo.ca/journals/JIS/VOL14/Dymacek/dymacek5.html">Circular permutations avoiding runs of i, i+1, i+2 or i, i-1, i-2</a>, Journal of Integer Sequences, Vol. 14 (2011) Article 11.1.6.

%e With specified sequence 123:

%e a(5) = 1: 12354.

%e a(6) = 2: 123564, 123645.

%e a(7) = 11: 1235476, 1235746, 1235764, 1236475, 1236574, 1236745, 1236754, 1237465, 1237546, 1237564, 1237645.

%Y Cf. A165961, A165964, A165962, A078628, A078673.

%Y Cf. A235938, A235939, A235940, A235941, A235942, A235943.

%K nonn

%O 1,6

%A _Paul J. Campbell_, Jan 20 2014, with Joe Marasco and Ashish Vikram

%E a(20)-a(21) from _Alois P. Heinz_, Jan 24 2014

%E Obsolete b-file deleted by _N. J. A. Sloane_, Jan 05 2019