Skip to content

A132371

OEIS Lean4

a(n) = n! - Sum_{j=1..n-1} j!.

offset: 1
codomain: ℕ
n123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A132371113158756741673440731664732196873587888743504688757040644878042831408712137460996871952118725168733336303557168760243618851076871148647148824836872304476522241459687485296146775976196871070348458111786419687246743637414415476996875934187319969110337796871486373197186141813905968738713277301180508175505968710469419301176945971355059687293580025012054102151323059687852556532952832833569193105968725609490115423998306291317905968779484278357077806835158590990596872546335874610454652152827454990596878411689532405544900399041122459059687286277853334385912756981261963419059687100289602216413225607283953801995790596873613559910787702501693945408559883790596871338112242872531286154937522613522037905968750887623371287373452892464016304770677905968719860713079977114869649191931865796481179059687794980232165479962497979898048175896039579059687326156762788334916019768194122966957726475790596871370716740805385775928779301549926762378727579059687589759675686734616161976261575749011297704715790596872596417016230374558385113173035162796434879975579059687116902094732133671584261023046663646080179336679579059687538027981281326223231064012885560310891306362211957905968725299827700435726497557438442486707329218739250531957905968712149667386518093574551934721491018151875278482404839579059687595603700235713509105079519948039644962385137152259559579059687297931331738805564309731833593702177355649210433543510795790596871520083700057836080567990983496543891110069357922419439079579059687790760213644269500917801418069617044442730553587717250390795790596874192642955082564757246472621483553820184037832843818894063079579059687226486573726203894100743187797732335604081914827918132577007079579059687124612025327059970591216585499981941330178458371337390125882710795790596876980669836302528970612371043185901099503551826154033241754836310795790596873980298931289774274903374771482346234545774402107966855198507083107957905968723093104815860218810671474544190335019043592926097693886823160225110795790596871362913063647101004753472173537782904801495114289349160806622111341910795790596878179912182014720573275810361136363858542516364244806003448297317663471079579059687499118151833756739085579940171314862323038700139558317197955681405829871079579059687309539309844672446671369886707688284958833104394217185031623120502649658710795790596871950622299868131433731977452322765437864632439072173882225115575167352505071079579059687124872337854943415408933073370760449965640601233162828824814450751156597228271079579059687811874906556564575392523660148593374054616812022950993734933379638968296374347107957905968753596838695884376842420813623575769388046671540633750948436521439728285256220747107957905968735918389426992642928666608752345536615759515900678264354120273460925903127209247471079579059687244301171002744587195315730912830618880882344662794688753842775447861142396550479947107957905968716860539305329509604521951535326280211898456993743758093644304720169944828668178563147107957905968711804932158166904269373066559279815860393381622696822699704509829983194471568245810463471079579059687838326377386089438198395143355827628676060113458400206871024547489315855684067572868383471079579059687603718275771364516646801302401506483488769826819141367189211779846905234821495988116779834710795790596874408018372336048618832889127594652412944121499395424494570355240427155857574889537280173343471079579059687326256331601249321163003403072598332338473771919764585633544121891097547350412088362497238303471079579059687244738200546927701306575744632241244289733511548480174810882147808761177535213363668878109176634710795790596871860350240097952228934696881091182615337515398761037107477984408717408475893913524665730152293663471079579059687143272452865051721353029616445677174482617105552210737282914583130855711738059257758495478069093663471079579059687111771874470147778135424092070051068332468859265920460096383142594235670542739471838434512755239416634710795790596878831468381688997108357715384293726664455916035471874492434084518359238870973074061847150896901794296634710795790596877066336745827610694827701691853624152789063251235379621192511738360728716119045252778693633528897315766347107957905968757246504741131164882383881810502722826090785625592482498035712769835433883441222110986335808504732854776634710795790596874694947321339025553586171267072990007155976581410893249494727752542947577638554867115933963208301485238776634710795790596873897400576193792071757181189284909967886447447764854894293950843547055833129068652436517107280764268519203766347107957905968732743036609328780146931644486627391665366577539044111435113368257617901864970142919844917101613168540995561976634710795790596872783562348298571991756423335164636360705919595119945185743755575135556980837095140147650067165648073660623235576634710795790596872394203079562647952555126964850560103239534924328022785660293622872859789550656792390214906871320242490117267235766347107957905968720832451384078087319756207419410126768316093461997776766778979184499423891236148414510066430353253569984923232643576634710795790596871833503727990471924123452653500885178665930108194764119364535338829101963416966278123897810413669975984056568965507576634710795790596871632034024919271139539967083651261525894581730941721957348113107974230210635214996857410206933935865667065277286260515766347107957905968714690203944091372865424885659324311145248364461211129028058709533690613531316610070357664082986482169768297264768412035576634710795790596871336977412332859105470900118581859217863405630004584131606631718231127613385035240196290661003073295254367635943048931715576634710795790596871230171149033891257351208120021274871506915854592205941441741928556694313077890305293130462202784777802304191390342563045155766347107957905968711441973904626978728217665948547060787746664046905847658868792213329374748302791792312485018911986103871558232293251902138755576634710795790596871075672680419737227506686415270288262105319635257206300030119690929516437300052721790299511374409243783403434818529363745630595576634710795790596871022007252494968436929564017040818271959990469648272775460026779145915523158587254179033710809369856202450084904367477304391704355766347107957905968798123805041942125505366763751351252968698806066751577746055182148748279006548796627973628239432359860697303111428097586398296088355766347107957905968795190641863159641729962950783993423639714434682537956344676277031144243956929180465110236505909394751904107031316027634899771044083557663471079579059687932969557138144314764949184194210850002472057092314366752270609968718382275518922835047463736246036927298738924056513172901828294680355766347107957905968792373806911305647447338950891849462845956501568658145502646386749727376961500789771999916208051218499216275489633558579338204509698072355766347107957905968792383429204178326102538643588059861109361213914780570494247568484810521762980325194482633858713900105520786717307014868879543551795507443557663471079579059687