OFFSET
1,5
LINKS
Miklos Bona, Michael Cory, Cyclic Permutations Avoiding Pairs of Patterns of Length Three, arXiv:1805.05196 [math.CO], 2018
FORMULA
a(2)=1; a(n)=phi(n/2) if n=4k, a(n)=phi((n+2)/4) +phi(n/2) if n=4k+2 > 2, and a(n)=phi((n+1)/2) if n is odd, where phi is the Euler totient function.
EXAMPLE
a(4)=1, since the only cyclic permutation of length 4 avoiding both 123 and 231 is (4231)=4312.
CROSSREFS
KEYWORD
nonn
AUTHOR
Miklos Bona, Aug 07 2019
STATUS
approved