Skip to content

A334716

OEIS Lean4

a(n) = !n + n * n!, where !n = A000166(n) is subfactorial of n.

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A33471611520105644458537134337393339941637622961453769370592423404183242063332125256717784920096182035734342461702459745617753636991166411759802836413795323560076393274531064955305479472570212110917050928609491845402514151277071848973988160410681046541024065726215119011852903085215134289393486506365908116362357224106339406266402166610052878252980052663697042020079107712748649035802963431516723005595673259663800279679215939510778274516805516686820256753682163182823548125793301156845751645919614955529991085169872071243340568614947979295971212897438954539149103719475227329567049921014652524447271109349383438256404796972936546153152293103320195085472726487894051413528608461615418412738230218332370841858505514322266170996826317630497659878623548764684200672687319644805118299661351754619860530579938030213626278121833200089610117459148128692617263293676978836038506714596971006595248678677046904113838600879359395948611548201661448036234095892306805952712981106234288271164505322259332211958674768856126200818449390545795939558693570855103584067421506081221179418727521068502701776840627263783460895351826267573695427006494710288456719958944318344740638412816978204081604255144920916485357958968416867444112962328641333957387753785122504345245859800047144799479234852891986437750851172244278946004347727726631128971573265477006689200563875587633867725389133002958572989476009283296116415862815397031582175861619185440673615318933796964513826852606663739961765428934326568913215927203368017967768111780640279717253700154310821475082478551844351322873717685042238975932968768240246325609366453941423323942878423405118943331962012281414557287944972376035394830316055392339606856224577718023996593986521255048230669414423130268387476673428020191244159542066080961758160752720970297293022183620864761271395973690237068550533919757310680480698841399649440077482680227691136120357629208991482494886277876232552668516231351183803665232494343227785561151454098677034483663718890263517185764728990646701747680890413719728040339850403967285214319507520878581867102111066796351448932701365491643382333226623462015740786372961688988436642661783629329619506686498104538056400695465023203468535134845889945789533572950006101433081372236694893966850368283384041727613114912137194154735872952612833142022226322327078440664693825913726823212864265453842019627154983207638737668837423114988178683321235858914443023352347584514991758445813820411256336847096125641114298224739863236632496974761384296191533993893951742016782086270685828167442753601088267234942027670286195250846154647404687824619455296505853137805352132389249539131429576153208036994402105354098943491258603426742201522387728661836228933347888605301184361270192911035547944453597792012132829147161322149638598333377169613522722580169606479498781452456981403422126856516088964303086754382453616172452103202535255536678564678231008363412641835714169554770975141456842695039991179070879054245101082110690144108114512363843831891864712059644828553118704016497129018335184260982726287297470134568681860070135915008246103849785411860891321154931701568429066871498730201423626106007731098187498801233194463485067679223507365312877283459192480845219109216069685337620884674762891299689481680741982609687647692663041128587549097409950773025754661400105567539044314079014639230526908058061617014828750055707598036677012126275470137351223862458527475162080760086280813279628922683790671873200809879292593599522073657485727580076019033024247680013792642674723631895486298499122460004257201198961308763902132801897478214659688632935526317446767979066853307363101504382719602659860889348918698123337122946190735194037161954567695872386530448244825339795886401428175533897355721024637019948956670116741439912320638004413045754069432920012727190246730107359963450704316984948976295955430212097594653516120706928872251123250796094091985008637711871979238298310527904603503056535199792884609846663527689269835934008007412944335231632488745990213159804613819493641887585210141396134507898437414641866411883100563175236387555824170358978209658148067327371003950481474543173602544148631023968081511163040811672771435137693225640138410297279530911935593768785629936973188566575188549556422725618301506561366844961210555038563068639882425607368509046655297262503141782212831558285039495785508528147169985116144977573670395454628525352399290682596771155705062979168488250748468283888372937784213950269088199158626190776039154752128940165785251862479784795735611231653797345676295312576994904360348643141401472940791534606340012323310073476436321328929966639924034668780205700225865662716873067282313740773530141894681347193401007120184602580114319712790283473609854421464227961541211210154238877476036731985844468283966275919302936861135157459146293417371011084078913601278171492175811783227771402992924049020440966686130740802575448249127278098005665105613901433877636400300509200698810461753528902010464043472640015743605692543964209244285330680773962547454469199068466120129903962846454636207797345058809353371037448917543838689236547939924224135395008955878090518415028553607180106462988590690257916075429675450903262785647329490485527986502597666124168637607442930144220585739779365779161393873416390707769431716932802226805452973250526599083346194217935791230938516826812150485265289409645899051606943547632302205841885662026608593147528094664033126810061510494776823860670698465430782725119894026136116862065990292801067002927261625574705612227465311992782392036816477613426100116211157562636488217891996721248919858017239321955012148722749056895345714006695243400541952266285228547469689279350415283313482984112352951258519993678254370847041212158484103937272594460770802789934855312546324594511777955449243625990070726314965425436208877907815269515530114890992983848072565487744225366507165811555394495410474775409625694482646524538221352661802516745493843961430795947589379521676751900479542876110800539598206034906066280729189709210041949974645714527672727323310911566838928786107317876585741815457872312692961833621370715937926744597487477210261243837979347119729669170695113258443619779747154528319861058346302072698010986571107913205180721988960839582586508944619160981651139921638228569985148143096277035636918273315430486647541625416097053059599051114132990893905746849127017129877593057514561997209944957089235653256858292555631714054955658996721135451103537256398232205193221796885965848891658849617952593486240431975038831205052496825034730464711204701862064972726583960853406445491859366085027877495995557639813012416089086595243713041710407195318613473902429014065656682541864598291854098169697378363775709098067767864420278042521270944927303223180877855310274887418274019204296027647957039283399380001415149508066602233237865261938361721525226480931688110448904258208610713187248167084552513927362812493463492025342062429717949061324664197915631037424682590922758012308927771799633006934629932935344008205093605169533736718211006055375685413706987869366954340378579072935119863153446191103962610243537931842839789804445180116319193326937794045502817615607138002878159809946522578098974060553756854137069878601