Skip to content

A001117

OEIS Lean4

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

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A0011171006361505401806579618150559801710065191561569750473382014250606428501161287469503866340601160688606348363867610454061750313684767009411801300628237920483684718794615025416645017407625194831806228759871485966862876675215020588791086918061766695383300618530073039499565559034796751750166771301600590205003144201978460615009442913856891645028349357413695013508508930392712604052553503751534606121576621605220454763647298978010101975010941897593737282590032825694100625801100698477084940705309963629543126009977174321508862937908546268562940265888139367450382218067976644223244757973139623929932754176766932615071789798431415286824238021536939563201583252550066461081875715874416820756193832456406584221325737505814973694899686416194422017444921090103378801427860652334763281118775509972771615700428986497360474129669504710128696381553706466468460141303860900093522478545406064239115827175743900047389227612717347481873108151524221775038152042446311077357336773510011445612734031673787753853690063433683820237172252436720434436103010514607668569895312899581503090315438241125143303612718414092709463147455115227992896171806278128389442808067541747717754196834385168329309646340781211740150250315550498969982645341975217558075094665149726412542224114904370062252839954492500731239153893913155667585198634789189036623225753035750202755595904395901308766895130389420608266787713244372324095121133732606182480036313984645376787423488632651654744010894197660348948004476292369501642320326825975145186675682882822566049269609804780161049964981458365706606147808829414342296538624366318859179076443426488243030516393331942844101655750133027946472909880273491351630735320430039908383941873109153145759244721560870061197251518256196176016339852451666120923635917545547685943308929537075750369524150107752636643057945983667294231651880365340323257909929174070064759248703757184681806969773729787522674421792478128874641216996290932118936256895172040689842183009799415087279635680877087120712796233359026426687802618389070426312985003395672614853262537900678551672112789396977742105890727247270882356235655016338368205788506789096745040602137750706965049015104647076081310139361719385394620212089514704531400064936581611633835331414660663626854411359421207903412197455214502583653161908805632340782660005551120202957713140694695057264168970223480275535508691674756955484542860171792506910670441777344476246196321988981032606515377520732011327233509329080933068211997905876