Skip to content

A020515

OEIS Lean4

a(n) = 4^n - 2^n + 1.

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A0205151313572419934033162576528126163310475534192257167731216710067326841907310737090574294901761171797381136871921459327487738265710995105792014398044413953175921818501137036873578905728147495993344111258998732881934503599560261633180143983752642577205759376949248128823037561484083311529215035331051534611686016279904257184467440694145843217378697628624827187329514790516217295667311805916206830515650574722366482800925736961188894659313411419013137555786372563944551219330223145490310753786265712089258196135296630784014835703278456317675569153193428131138296687487877137737125245532747108817305730948500982132747653873664112379400392853450905270353934951760157141450730852319233198070406285659436608976322577922816251426405611856723968131691265005705678742422238003312676506002282282755967963627535070602400912915354186999136257202824096036516659203476239155218112963841460667268858975040307332451855365842670876875751109427312980742146337068711038270633410575192296858534827556472902291292161207691874341393103700067972410245138307674973655724176825756511580979333230699894622896764949101276666265713292279957849158717508855556734976015316911983139663489309385231907684353212676479325586539618492269460581253138507059173023461585662027982108727705734028236692093846344492786335805865984113611294676837538538166049415796537425935444517870735015415340206742613453176833217780714829400616615084009230434891202578711228593176024664632875159735330930688134844914372704098658590530219977194287923313937965749081639463448018004198051828203535575186299632655785381568384920655553888257223007451985306231415309959061654918607667218920298079412249256613342835762770673349427335681192317648997026455260289644230551483187314272476927059598810582481905176321792210370575708990770823839524233068319934254631207567361228359630832953580969324243954644703534771077139134385233318143238772999981331278507120210739336537540933272572955092060371616094759939578265714615016373309029182036836237904634050267578368015846006549323611672814736913013492849365380759553233840261972944466912589524877572498559782218629139353610478917778676503581962243555634094628510105737414441915671114706014329783255533919785193570304114965776766268445882405732300158475844595413334097935986310706507378352962292997434642793174432514834433239452428260295134118491721444810760833702644217282579578097130411805364739668888740931415482612641169408138312388521647221458958675616860727626199464309633843315324955408658888583583470259123691443333588472844779536129982163463555433433388106125356655904195938936160257245199286538542217337335524294531867807583048553411379219807971461541688693493420972771626743731626162055754547339231885846166754773973683893067211037783113088061616947315692754338466701909589473557623025227684566923192366530576277101735386680763835789423128438253588091106870490562561251084069415467230553431576926722093393808931026690501509131004336277661868922213726307710057500075806297610503764049934017345110647475688854905230846568253304366337449498572226571606938044258990275541962092339894951921974764381296132096001