OFFSET
0,3
LINKS
M. D. Atkinson, M. H. Albert, R. E. L. Aldred, H. P. van Ditmarsch, C. C. Handley, D. A. Holton, D. J. McCaughan, C. Monteith, Cyclically closed pattern classes of permutations, Australasian J. Combinatorics 38 (2007), 87-100.
FORMULA
a(n) = n * (C(n) - 2^n + binomial(n,2) + 2) for n >= 4.
EXAMPLE
a(5)=110 because 110 permutations of length 5 have at least one cyclic rotation which avoids 123.
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincent Vatter, Jun 17 2008
STATUS
approved