Skip to content

A002467

OEIS Lean4

The game of Mousetrap with n cards (given n letters and n envelopes, how many ways are there to fill the envelopes so that at least one letter goes into its right envelope?).

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A00246701141576455318625487229384229383925232230302786759393622786855107190151826607852266132257256362552248373358163364047072044694047768943688491868941537887376983737879322956349166584954607105039681664869001191634159126782919870273839219819042790076886571198049547606975192216427762549288237781354997627121756883078242009658493593228726192726190776270437820610404327558905953251184269679770172548416767178597535528090393105176451951978253652360137080218626047000901663304116875524386566996033504028795488903585689230475671086910563295008186622721913433836172816954959152030271653179526697018426604859342357032105948623514462961092663357774936324853155814149587003512956042854423767264401956676512353163306133492329628468103156047274353707469420071289392062008555102560230858436997945913073827451575682480342204102409234337479917836522953095921146029816940303681987786078366766312974410769320888133252311492754643487015291404185144925252311439381897298493941884496699416575303799612317858493918781680348113373344291785477432931336718294198577373242631756156651018004931303464844819101523232389359817959183963478320594682822683995938286167867006868991055162612246215163481067950092666147809099449889749322842579592642775572106784709126160444797509483677359470796749644382044685322746108738450747181861795077964700190614069040732574720189580814559326419225373590930897538982350095307034520366287360094790407279663199980494053137475774488099854860658760538680655364834310771262823150509856907631487402733811924527542555480113940789713841601056668037992702241610446883234489203199995975544044603886185483360485600340601348145921046964131694662416972799782679378408609854016101466222418392472791802565758302724320643293350398804736581247354197088558064223301158600350644943682464952561956024427622333065248549851835036959251596504864881619633525617899005022960314933923744729847191673415545971066773410007772982523191096148583814229133169826616757719433113711705810166632187285778045083298634508356787664450395188570197703887054465537089906427998312990498609046599146194359930454525986702371131421186223322326793222539438567989877942991654279594877166159582723932085188844639016692359622661934386574905752647382554522490911055287507135734546158019892817083676190349262966050399319676441566641377183803944364854278254424155418617959125324747627159999200356686117515713961581869840676257964849498581953002872179137293141880207838481382399488228279115210056935412396698032805097503679092449921838194647867610751521350950128985596673483814248865370080180578537213233133773914100924491948265211139469881634409162708513049380449931740425114425291918183456073386829078330661016468585503935205012185523054139014703743084901454266084826664945585182915569169175482481542881033952287636587358164286156768145299985452977329889009376821321629979243825870350393280874491591030875555928794035517144710817002025698996255435762341647000671192468567823985054177136380339919781130413359086788450682984475719014179892973788050336391529004698347279974767895379239954662379438467912893513607519154780890795376050006772401138951573883798559333582656878208520571926036781028940131221815439466133859989443246103870756004876128820045133196334962720179512952310134811786746482340836894479707116415616379192399137191928256518835595740386329472333245227857310444551863984126043249321088109329701861949833999568104513701500882090982393834084788588380952660146861440972896837934825327200449760520090397937784287715968039734013911065111568236795375563591441285714495110146080729672628451118995400337320390067798453338215786976029800510433298832611918599644854283294953771430162837110213545511976228504365042563634964515268245370439981017826483879293071127759177321726537798137114404001225384574864430044221695948361082773998922676756548935238785383726392587055664768367671583109466994825469492351209557999683942554344929228397216445637191596878701081694862525993065862179034185193267275655065647892591212089895745555081975031461793249409043380099205338136153417385453894139553452203112143700630268114344524052518314072969671916596444065580025169434599527234704079364270508922733908363115311642761762489714960504214491471936644825398343991054342524431196931198203872420256170601103042850591122274144657741234024306370276166691180084137380922403004875682664207266456087003358148358252717538461005989290449513748472026479861934781189993122362645668676766899265235636792494046816611292031158552212787263137349755556922634971111073096411231781978285405868387694291560995905001716526390145578535820949993259534853061731838587413010353737946678150133757333014009854346968617597409294456632049112365602014418821677222859700711780749427060462510247206279930105880067725467642761369373306190837619492332495779790028813724174551076171225599842563943074560361531444507271997758812597400739891056858243902172774777661043324120352763405946370619424779802790113925507254015864604991044121909513323567213266380501669597386437052194666721948903140565651076919847069041631733424388995584284273991151913109938022063422083860612661172473914767441484146924570006460593130671531503476369777294768946542075663592541346231611417016111221368353674545941581143379733914071043501784143022920890762867305749927886297663038093969101792344362422447340597361798146134161144338987017834770345888007217607963183522493915160572872062880168658057517493509766789673428457219161310992618020260653762561833152074502990508831605129331129920649584716686517015985462796121313577220953478832340919093887778602819896069436793003282398437194923931268168387797721363036760667691328227791122092184730484470786257724316084910432772005257536455663767563145943043838818495630198065622193300167667149167739036539938198142760219695678323248099520457123973121968361395896670247796488950890376730383372572703077010120093608420102863976915593044872599730398214252427276700431698084062073255402512522868734650259712142870032928699613836954126560370218340892389512887991914896692138300657462180243746574321397281640098405796199018348860078361771431652979177467265357265312822646331451064202323517074238477700372435923191518575313856245890712315592456053274175580934855063890674314170744436828594662686001036857474297470030974047819302163423057639126893859235753848626385783230130199605508382296875781114320855769746086133504734160391465935545081560805421005751750068545930044826384723098520365909953087043458681233167594209733226293617343130827969507680891230096653703549499592135579721957478729056595893125856367150671750114439298570286365499585917540253025895076085042423255385617677449962682114101175272734054947206294785096002928681275183291544748758993419459780347916503261329490558458350184459005836485049563612532419199902283176150067546305529296016352000671439773423183724504289939446243145862930121458993419459780347916503261329490558458350184459005836485049563612532419199902283176150067546305529296016352000671439773423183724504289939446243145862930121399