Skip to content

A024024

OEIS Lean4

a(n) = 3^n - n.

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A02402412724772387232180655319674590391771365314291594310478295514348892430467051291401463874204711162261448348678438110460353182313810595879414317880428242953645784728860941825418658283037625597484960228767924549336863037736485420589113209461961767339628391618530201888518095559060566555490166771816996665355003154509899967215009463529699908545028390589099732613508517176729920514052555153018976228121576654590569287613647299637717078636210941898913151235916732825696739453707758498477090218361123283729543127065508336985988862938119652501095883265888143589575032877407976644307687250986331323929932923061752959003471789798769185258877019921536939630755577663106966461081889226673298932189193832456676800198967966705814973700304005969039011517444921100912017907117045252334763302736053721351146515700428990820816116405345064710128697246244834921603631141303860917387345047648110084239115827521620351429443314112717347482564861054288329954238152042447694583162864989874711445612734308374948859496963643433683820292512484657849089217103010514608775374539735472677783090315438263261236192064180346392709463147897837085761925410520278128389443693511257285776231693834385168331080533771857328695214250315550499324160131557198608577975094665149797248039467159582574762252839954493917441184014787477256967585198634817523235520443624317850202755595904452569706561330872953695608266787713357709119683992618861232182480036314007312735905197785658384554744010894202193820771559335697516861642320326826065814623146780070925521149269609804781974438694403402127765788147808829414345923316083210206383297521443426488243037769948249630619149892722133027946472911330984474889185744967832739908383941873399295342466755723490351441197251518256201978860274002671704710559735917545547686059365808220080151141316958107752636643058178097424660240453423951043323257909929174534292273980721360271853300969773729787523602876821942164080815560073290932118936257080863046582649224244668039487279635680877124258913974794767273400413592618389070426313727767419243843018202012425678551672112789411833022577315290546060372949235655016338368235499067731945871638181119030706965049015104706497203195837614914543357275212089514704531411949160958751284474363007201263626854411359423584748287625385342308902162251908805632340782707542448628761560269267064886657264168970223481226273458862846808078011946791171792506910670443678820376588540424234035840568515377520732011331036461129765621272702107521901