Skip to content

A000340

OEIS Lean4

a(0)=1, a(n) = 3*a(n-1) + n + 1.

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A000340151858179543163649161475744281132854398574119573535872191076167232285032968551132905653578716960902615088290784526489123535794695706073841082118221523486354664570691906399371233571919811372617157594341206514727830236471544183490709714632550472129441389765141638864416929542491662512507886274749909375236588242497621125709764727493223377129294182480031013138788254744047303941636476423218091182490942926965802735474728287808978182064241848634269385246192725545902808198738578176637708424638221573452991312527395966472035897393758219231994161076921812746581659824832307654382397496179474496922963147192537538423490768889441577661161527047230666832473303448458114169200049741991541453743425076001492259751543612302752280044767792599130836908256840134303377852392510724770520402910133612117753217431156120873040089335325965229346836261912027371059778956880405087857360827031793368706412152635720824870953801061192364579071624746712861403183577093737214874240758584209550731281211644622722882575262865219384363493386816928772578859565815309048016045084923177365786974459271440481352613695320973609233778143214440579062085962920827701334429643321737866257888762483104003288929965214271877366628744931200986678989564351563209988623479360296003696869312416896299658704380808880110906079444506888989761131424266403327182384051520666969283394272799209981547152894562000907850182818397629944641459421368600272355054845519288983392437902410580081706516453655786695017731378312317402451195493609673600850531941427369522073535864808290208025515958243601108566220607594424870624076547874731603325698661822783274611872229643624195619977095985468349823835616688930872587652993128795640504947150685006679261776378897938638692151484145205502003778532921826938159160764544524356165060113355987739808144774822936335730684951803400679633032424434324468809007192054855410202038899967273302973406427021576164566230606116700762181990892021928106472849369869181835010317654597267606578431941854810960754550503104119637918028197352958255644328822636515093214589137540845920588747669329864679095452797341767412622537761766243007989594037286358392955302237867613285298729023968782111859075179791590671360283985589618707190634633557722554032477201408085195676885612157190390067316766219214316042242555870306568364715711702019502986673429481267276676109197050941471351060585089601171288443801830028327591152824414053181755268804503865331405490084982773458473242159545265806414501159599421647025494832037541972647863579741924451