Skip to content

A097070

OEIS Lean4

Consider all compositions (ordered partitions) of n into n parts, allowing zeros. E.g., for n = 3 we get 300, 030, 003, 210, 120, 201, 102, 021, 012, 111. Then a(n) is the total number of 1’s.

offset: 1
codomain: ℕ
n123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A09707012940175756323413728579152431001016158423259217577014728042003008745001240940160510918331521002455980862137853503534526380001447388552610592083661884024197138082780988011687312004030950460387501643337883690776669490019479940427257151959073568110906013711026380451008997493115600183310101425535207274468536520841774083023829832555274381112273028337827651758049792822581671009295020193530006999312177768186481995121480415274331764807223768979868081344061026495185964147005443402973839806403120002203897779033391617463210892047619782462615420564036096575453555658440317380146026167870522620407557600590591371087909151751640500238803068961372846150243576096536930618883900093061604403901682736828408601316677248015765914183972432325632927595063694030647452142256826071500025727292859118869300377186800281038983022653535575283206344291241951244975337653146975025395604169358176582530789137307507293040683589073517279625564509383003800275876211884262798971620844552409611131816279283996996769420175274844449110027050953009029404615751008481811659651332173701703038238924252407307009912296385743151581980608016002946754719631081339418740755401866008118820499364000925602361693883497977924790530955107404643562438948507938766419311790194436501460569166837018649600077841224636266269314940660273236793187531372316523227030388042829896631387323001264255381654562193369384380177840617695050941972250763468375284973643699668284400205244148579524960171184917599940488784250826839481150029140114120293964893630515000333064442427332146276989925760797356716430013415077244682705610013892982835210336779200540277744433806959347743166851144910129776502175710338815818605292281546373722982057610008760849702499780906993208198966506894516125003527390649994934008561460965158994633724465760142011672740620144451330009147865756947071895405716874017495566887779296101098431247786662168023012203268978703662346311886242699089134673980092624025976084767825370830729437045524605513600037278275954562366400717216530138115915981075301701500221914806073346204141724221561976292583923588060370322086291987807245191513960475839566828977460242918468316448526929429047578310987120451807120800977388791879814863878470898632121446194675000589500393228199340656864542828956144477594435803638991496015819513038374667857770866361712799276423609349044040636375390398245325582517292880738951471193100092076802559800285499140223643519327638819516829502204011905001029607841131203225922011435154308670700516856707730000414105731461386897457867759684655158939277014294128740016654241372527507828688356319934495125363702069860721600669750789033661757411264499548594453068442451623250522002693251525331339567899616059001053888047222623130610840001082969971650322485824732442013438712565842234040636070000435443926107998918178480785105636166222595933394643786240017507529555127812406885228961918665910603374257818067334350703873767681342212485550474196470713217456096742206239902002829713262200814538116108268297140174648685953271197722055001137544153971146748309097701978444269780208413007705236700000