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”).

A213322
Number of permutations of n objects such that no three-element subset is preserved.
2
1, 1, 2, 0, 9, 54, 459, 2568, 20145, 176076, 1833741, 20148336, 241870617, 3132196560, 43874128089, 658195206264, 10533823597089, 179062417518768, 3223079582143185, 61237777946016096, 1224762717659002281, 25720036368344942616, 565841009719801635777
OFFSET
0,3
COMMENTS
The limit as n -> infinity of a(n)/n! = (3+2*exp(1/2))/(2*exp(11/6)) or approximately 0.5034167572.
FORMULA
E.g.f.:((x+x^2/2)*exp(-x-x^2/2-x^3/3)+exp(-x-x^3/3))/(1-x)
EXAMPLE
Example: For n=5 the only permutations that fix no three-element subset are the 24 5-cycles and the 30 4-cycles, therefore a(5)=54.
PROG
(PARI) lista(nn) = {x=xx+O(xx^nn); egf=((x+x^2/2)*exp(-x-x^2/2-x^3/3)+exp(-x-x^3/3))/(1-x); Vec(serlaplace(egf)) ; } \\ Michel Marcus, Aug 14 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Les Reid, Jun 08 2012
EXTENSIONS
More terms from Michel Marcus, Aug 14 2013
STATUS
approved