Skip to content

A000166

OEIS Lean4

Subfactorial or rencontres numbers, or derangements: number of permutations of n elements with no fixed points.

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A000166101294426518541483313349613349611468457017621484122907929323207110104948106651573476970642517451308500922796642355301661033953447507315596451068950146311929021211879530725505094454041349675961112077988195104254710557779372622282502113053386704942895706255282633466762357224148362637348470135821287825400579120840869366717477127411216215383544342268089359567332527024612278592577459142745169758107383683577773237742823548130250132889419091097037002752999109680042524614109151051840880959712131944140331226560198471074907167049921086100771261703046748016546843679697293801352699415960663618057913952878940514136848697178974583890250084902303641858505506340179562205960393925314138523474876468419240926823363826494969161937263892045305799375039614611118923330379731555329178976692617263001584584444756933215189262213167159067704690411230649679622350342618227597507398535217758923068051687286544138714389965559095310738479145874768856122225533213979647187685190410983617546032726150608122977923461415104476258148378083279172025439950626757369440065557636797014316166770137475627411447977782040816042024301565129266265854367142632387886092660697797387753785951421735610755144951552557037222306463550527964772244278944566824330931624695767452273778667071025042534230906772538913223774392215649610092605161415154686480227084177314431854406736111887196107824805046302580707577343240113542088657215927203368015706247001499065057361431616086444505245790646521518012287371768502967248440779513829827944440364951142727811136191189366389433319620115726416736131423298088105533934241056457399021813303641863996593986528492265037510968580967576988324490170486995471779183966606558160752720946707457706310327195321673435784695937678475094785511816336069884139964942615617631553378322938013712403942972509994605307988661714819913511838036651490902049985425644074667816070247494330696925025553537177447350701747680890486472318899154687356330733332074354671180421651482105156291946340701365491643351018668150501265540235132665923869255996448774374442042212248341013805640069546306112008903007593241410795995543215535978692646246652253273490046082833840417276118672832543083463187726058555728136147694700251421045787449682892811052864265453842011577156176711747176390156304551444411570714155881048388218803393542852775844581382041729360839132840072112579847186740997928954991820506048457784613793199724878208627068582466790937045017646152051102199514238674531194765123871012982152827647823922053521323892493034141090792614699988332164296842551384452765973305161584383993379710855493347888605301184200253311992312570199229922843591608391373882554238140664569343563060916462560960647949878145134169719034849422033484048305206377622220501311339554245261460187250814029915843634126418357149123540894369760698276915284754033678310994089171089688677779292733055354034277367120596448285536295243217115134881811071546480283238034585921528051885187667711985808194283651383313211549317015644066702519805944172677500825361982666242101450696363196313673983900657359985559683192480845219109213128735878906222036260102558600700769303189202999441786938270852856946672558974737506666140010556753902252689832812479866107273842192504553898296226159598086595555014057001604242461811004799620807600862808116444635779531103022583099048005283243457562450965066032147551602616111710969971220335037231895486298499121216903047685301623671149329552390960015859621371414886378918818593592266611777870304792755160265986088934899126772857639762177533619971642932200118947160285611647841891139451941999588334027285945663701994895667011674693634737180621925492555117844862847209039984181706485235983726598347591968713386073731870441351612070692887225534098747629078882629267440740544392350960787819913993631707469480727645815909307276773540239840741294433523163244165970231506815284508286037776246260337494144995329150327318261949675637364092596758833613870757782096581480673273329111648289038407476154596984323454566662037454631002875858142694024375351763315143947855495789864785629936973188566263289318631230725980923677587458763653329629963704802300686514155219500281410652115158284396631891828503949578550852812132643480912968880445481788458415985591970002706008898635560764657277952279426282132782103612718323810881991586261907760174876765434863448196529506653590110818541540221892729688115982701896792086912955134888132496242902552492323310073476436321145147715310936662003119490522479791979389478384170965641136265642574337432137752761957149971881609118568628347360985442146421219240808611867960826203720388830252626871618427036111385544631397624434429957123200440059763805516595976478117832277714029929103635468732008776670227316233050571473284087566298069467771293668798076926546355472037405079923468910658000640015743605692543964891265031095275479363954919604234914670243153070163397422833125551663461568298657059521683687341832631658805504135395008955878090577540057705288966704664078005568437576311154317104215575786481922994721156441983164178386480798739438954316078859779365779161393873468235250780654290700104388644900225067153815799051709706692104092235354617668945184476980103102890706279798149396605841885662026608593607293731947823187230929058939612003097668960611560216389559726420894656097253612141845122917615727285890203529629791992782392036816477654656435875304086850783615304565080278790206455040419475060375377880519048752825092766061062585415455730118317666681279350415283313482984149737356646526719034213089927154223053699087874086781722304941593871272334365070834417115566952728064714407669076679964208877907815269515530457583681148045815114760427329818852094031608441598391845205462663615705476158651676637463215965098195372550555505455670721676751900479542876142555282346768260805672719741673153244744939585068650441604108027716260609282754605927284079084754132169647201662007377377115937926744597487477240001965405962165157332356557172764050060243209964531415107861546053284972725789329571647034339668884239468369562286934734488981651139921638228569380018671356640568994657387293141258475572310494663048443524684687506207240894998630930646826226854400274949510841725879977645325685829255563171405436481792450237494623487109180141560813654941807487652650578369730000595895125919868569342095317778022426395153040805684477853951265839608534064454918535387338676730369784782495904737313989245293553263023071061018638100578018272142272512261832458244681753603298449581513943518332727864420278042521270944346795919031957623890868459866425677094603876821977626096397982653385664579066994270620165958090797881185312324805898836646479660733071318724816708455251334332795984163804765195977526776142032365783805375784983543400282685180793327632432791396429850988990237345920155783984828001486412574060553756854137069878634332795984163804765195977526776142032365783805375784983543400282685180793327632432791396429850988990237345920155783984828001486412574060553756854137069878601