Skip to content

A004004

OEIS Lean4

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

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A00400401141351228110699964289680380712567264133765377207058839486715295553808447659984280542893985852983860458726773934744128540971231269715686874732814274411818732625328469706368600722795622735731741402051606046215856734118464454415942710615416618008974348439554751495620807691359559936813460587269222236039440912114528542300012435497821090307568807001119194814398127681192630100727533396883149130733670906547800677794834217660303815893020621071535079589427343430371856011643815716304846090873346704224579434144674361481786012033814552149073020692533360741083043438469341657186232800246669747391079422407491467609520222002772651985238016674232084856819980249538678813342150068088763711379822245848109466307935061279887340241840021263298534727714155515189860621765601913696868280249427399636708745595890417223271814681224484659673037871036301375500944633229420203619370573408393267123795085016990815181832574335160675539404114155765152917508163649316901644607985463702740188637625774914728438521148014718691733246616977386319922132555946690332132468225599219552796476879483119300352021298919221403039297597516829191553610737031681916902729926273536783776514627240017966332851372521245693364618310539886316451603508696995662352691211240281564794858976848064433517827296096117422090116253408315373079163257990364704456648650567988110462806748383577124693219134856340109837855111892994165260735452194122238972215785706098854069600703694748734661906974710015074994419513548896866264063332527386119571627723901356749499924621940071796376569992746475076144649515112210745501534159746064616738912993471827568530184563600989670951606374377145815506502169412464481167716610724089070385646873369394312339558519524712180330509449496516801633470824203032454881105602667572240962297458504546865121470123742021272920939299504240081501686606771265409217860932311136784342456288453695538160733515179460941388682960748390800231061552210659608325984344660163661514847249814664673551720207955648198959364749338591019414729536336252483319820619654818716010891790634282744047319174732565827026272349878385576893368444100621611570854469642587257259309244323645114890547019204031599690823145041376902267832853153337831989128060340149231728362843972176761305372392120410495678380040487902152543061343085555265595749593571174835152908369446110542036439111937288755208776999739036174634490105735163761753250149948783279520074355987968789929976513255717106919516164738557792513495390495156806692038917191093697886193014539650485645482647020132621458514456411260228350254719843280975737130856882577080934382318119359312663010770134205515229247858952878163417771197186937284094408630742338139670969312078496370632307305759034707599407775962435556849677676681043257038723808706467335690765751831312368394670013256192001164709909012938931334851427835820602121689176648181131555203014935057280104823891811164503820136628505223854190952025898336301839968271374645515520943415026300480534381229656547014687718568233085026716559714442402740963968849073523670432480943106690892313218946711409776524044903742998165603686757196416617130338923284879602180308189705204026879887164041336869834936133180814767749554173050309563916419622773707346836241918984476372031828514457429862733290974598755745278607524777660496336612152617727086028734828645663014952687645996187713888017075074677229989444670295093735595437742586134578109671378824188813965689424992153675672095069905002032655843620358939683275211202987042442921769932569120482492938308104885562914501829390259258323045714947690082688338202021959293931220843424364447729439700662305164645123333249074114345292107441950438216317633645380987590819280029564957305960746481806109999241667029107628966977553943981615870280842888831737352026608461575364671833625498999317500326196866070279798549586971428325275859994856361682394761541782820465026294909938575029357717946325181869462863012854927482739953707255141552853876045384185236654189447175264219461516926636825165803111569434734465958336529627397568488440845766712988770502457737797515365233973142649226441041249126101936250287666465781163959676119004168989345221196401776382871057582838430416593712421349174262525889981920304756370850710375209041069907676159874458395182455458737858843411792142568362733009837282742807337656393376881369629169085438870125556642099128641099759070612928311526459708853554468526603890754039193232666252176894983113000977889215777027268316355163548037381373796819902167394350167863527390939962695920548480170088010029419932833614847196471932336432364171379119506549151510771746518459664263284936321530792090264779395886553362476824739102789127754241207555894236359694571866613697836956442689377712881238301456336749802622914226519251021497881708680030481272372511467995232805326079842043994159311447131070700