Skip to content

A164039

OEIS Lean4

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

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A1640391249236418655116454926147684429313286739858811957503587235107616893228505096855132290565377871696111261508831278452649142353579471970607384133211822152374635466457096190639937126157191981137551715759434123651472783023678154418349071003463255047212977138976514163889841692954249166601250788627474994537523658824249799112570976472749360337712929418248042101313878825474408730394163647642322219118249094292696622273547472828780898248206424184863426942924619272554590280824373857817663770842468422157345299131252740066647203589739375821971199416107692181274658655982483230765438239754617947449692296314719258853842349076888944157771316152704723066683247330874845811416920004974199208145374342507600149225975704361230275228004476779265513083690825684013430337790939251072477052040291013367011775321743115612087304009523532596522934683626191202797105977895688040508785736083313179336870641215263572082493295380106119236457907162474734286140318357709373721487424139858420955073128121164462272353257526286521938436349338681699477257885956581530904801604509162317736578697445927144048135268169532097360923377814321444057975208596292082770133442964332173856625788876248310400328892996521498187736662874493120098667898956442356320998862347936029600369686931971689629965870438080888011090607951850688898976113142426640332718238480152066696928339427279920998154715365456200090785018281839762994464146019136860027235505484551928898339243798041058008170651645365578669501773138621231740245119549360967360085053194150736952207353586480829020802551595824441110856622060759442487062407654787473242332569866182278327461187222964362419644997709598546834982383561668893087258849299312879564050494715068500667926177646389793863869215148414520550200377853293042693815916076454452435616506011335598782680814477482293633573068495180340067963391242443432446880900719205485541020203890085727330297340642702157616456623060611670166218199089202192810647284936986918183501040865459726760657843194185481096075455050311331963791802819735295825564432882263651509330758913754084592058874766932986467909545279828176741262253776176624300798959403728635839390530223786761328529872902396878211185907518075159067136028398558961870719063463355772255412947720140808519567688561215719039006731676622901431604224255587030656836471571170201950298677242948126727667610919705094147135106058508960217128844380183002832759115282441405318175526880551