A213322 Number of permutations of n objects such that no three-element subset is preserved.
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
Keywords
Examples
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.
Programs
-
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
Formula
E.g.f.:((x+x^2/2)*exp(-x-x^2/2-x^3/3)+exp(-x-x^3/3))/(1-x)
Extensions
More terms from Michel Marcus, Aug 14 2013
Comments