Skip to content

A061982

OEIS Lean4

a(n) = 3^n - (n+1)*(n+2)/2.

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A06198200317662227012151651619628589831770695313501594218478284914348771430465681291399923874202991162261257348678417010460352950313810593339414317852728242953615684728860909225418658279517625597484581228767924545266863037736441820589113209415361767339628341918530201888512805559060566554928166771816996659395003154509899904115009463529699841845028390589099662213508517176729913094052555153018975447121576654590569279403647299637717078550010941898913151235826332825696739453707663798477090218361123184629543127065508336975628862938119652501094801265888143589575032866117976644307687250986213623929932923061752958880871789798769185258876892321536939630755577663093696461081889226673298930810193832456676800198967952385814973700304005969038862917444921100912017907116891152334763302736053721350986815700428990820816116405328524710128697246244834921601919141303860917387345047648092374239115827521620351429443131012717347482564861054288329765038152042447694583162864989679311445612734308374948859496943473433683820292512484657849087136103010514608775374539735472656323090315438263261236192064180125192709463147897837085761925408241278128389443693511257285776229346834385168331080533771857328692798250315550499324160131557198608329375094665149797248039467159582549192252839954493917441184014787476994067585198634817523235520443624315148202755595904452569706561330872950919608266787713357709119683992618858381182480036314007312735905197785658091854744010894202193820771559335697486821642320326826065814623146780070925212949269609804781974438694403402127762627147808829414345923316083210206383294280443426488243037769948249630619149889400133027946472911330984474889185744967492339908383941873399295342466755723490316571197251518256201978860274002671704710202635917545547686059365808220080151141313302107752636643058178097424660240453423947301323257909929174534292273980721360271849471969773729787523602876821942164080815556156290932118936257080863046582649224244667638887279635680877124258913974794767273400372632618389070426313727767419243843018202012006978551672112789411833022577315290546060368670235655016338368235499067731945871638181114658706965049015104706497203195837614914543352809212089514704531411949160958751284474363006745163626854411359423584748287625385342308902115681908805632340782707542448628761560269267064411257264168970223481226273458862846808078011941939171792506910670443678820376588540424234035835617515377520732011331036461129765621272702107516850