Skip to content

A181388

OEIS Lean4

a(n) = Sum_{k=1..n} 2^T(k-1), where T = A000217 are the triangular numbers 0, 1, 3, 6, 10, … . For n=0 we have the empty sum equal to 0.

offset: 0
codomain: ℕ
n01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
A181388013117510993386721310192705664756899004321135253362132043360640503810960117382304034521930247530230527794400251297901924761823838487045523112274674056729538968718955244681379949913292685630803055600933595070941440758711361520032332695218399286203975627681111418068655262879371793239939588823130818249803299316677132234443936051833064288721307848066626465115692784270134415133033867163202472469128019395966748928751645506126599633055596482485944066825229982778435519460023501899345087481890140849335043352762099867029237971606797171310072213540154714474014605539343329354866476519516102657418375584786572903911101711276606539121416820238122672471809698531336408184666530098177095663024848512592619536602137675203703609775130632439111816021907669238787657833246634881323611237922981235595624278553505168351587186505220387947018988543827886363237103289466970771680263547143604210309956691029567505483458699730033173020972686217855119287013695786469979935076464464954552601572411322035034706291128094061473161565635140566103802359021129160614425556379623798046888649143520598405222516993152746113058292386979888450296327516526399281321850114363986503178297124870731499663410105914266770509288301506188868146723413738995179482167280514034253933988725430377130068319727755036218543541748957660733445402089447638810549554872902952341069676799700636506470545586587103667515589707952682053595992167352110384672242853630190239697571104579489287890942004104098421610834163514954877419799658684829910196908344083332957809392045869130887770722354235727869359854807644132407105733124628209639572910643863600906142229314524261734259054999524703065590695538086714741663287552758786941007013049566064603745178419045974237038991075056432018960882123484388572657360739940952804059685463540315354553287040847705227999618181470954290560707317547924850521776805184414118582998156351684345430304560651520106134450220872510052611110716091391529178217156030074043831076624588553670035645668464683539182727846724683129672361535078954804034522545533200087721942913927837470294596113484420462787829795863355332208104287597575485781366817979922514937694602960018508601707033685345470539025019339851445550841577634737973934810099572526951157666419764375012017053073130550159070843072246830959798386292853848473056086387512580502244812368510630917300124330181654558286529171085433184770567530618020692053941072501699746734182338363521168337819924128611566364019342551569585249144648127760641483252072074878355610417489535806796658761820982840489891127475163218385312194368460744151911317613942081087212693168264848458473766046321870060245969026087669625423791143350040286770334847986073199056297141357264258262424904241557574605800380586131802665009470194267938831537165493916196525422777787532999427147115671611749109399547162429859350041867609116692659316013491833349012635545832601989644998671667969155788708561372683913412572822250627935630359360562429118380723434557226754241334398004672791434727066698480840239110496266996359114106075270959545130924697126709318140130296750230894823079356053885538300989965861222761100473552364541851027746708616060252035537029580863472131713882237690493619473556589609285371160669804744523840935362673505184737141622604875699191990197778518940362994226687874682355922929004385532596318145918193376121742091319559245105677319281957440397221807563932382997848341875912197295843330988640766797872502014860025028485591207957038142950817408339429317681842305958059550602145115375394465399017990882908745592361681908750526336206802345627996137195403425645719810057304113431863570289688063469607018490122702662633523917450420217284889734319170776054886053393585593118404681603420607944148745498042537597490153430747664126276615626851403676216999853805269275648914873050085431580500943054635829053069622166051552569192081288343993399301078224359910004827605850039572233622388907716518767801832946937128367623850927684103174686378483726949306557137191515555656209454006138524005323340997383250646315260906384115948067633911808468192103797868877889439913856723009416724030491899591681711239660232225827176706690703188294461850116561728345809785472870735555946798486219650651163622786432899113263188118631584131469507889475773577551964703035908284605215400770856053503762813958901941376656165120751046395124205398661290035455057339939164350575210079562657854718737088188669114428039081154208805308711000939837955026829416440069224517716659716758507865051256203119122375313681663044764951172956650844287199286137310502846652146669969407181343171021303247413732636918598216990336346014043632517229936816755401981276185420375706020516579951225868677602960173690700666309859685334337767365270057102458279608127906372360588358099680021940726604378312680960389325372438463707587705816949648881738708756339759965832302340459029873708628704057185431387578235527759224577126954928605119244116220617322321084735819066725907488423336127316673424192783269506100311374975990661942060603540685201610411065269525967127329609036646537657134720739174582108987448619974515411821795313737357117004387508376148828063808749848186751661898456339334557536683688827707528260178710252195541547457704857976269316520773873405901113547851007876609801707325523019364615485029503727719555434756602776882499192321267659118396060467421097642315560664101119992567673976726607149731296598406654204357785531651731545377835106256151392666662385538324143391240418720663722667235176653173319984103475631321765121975369227414645487620206274811622984860425701828636188208828500061757581627318438928417379137149447510263013515702373856541437234614350226682098865372436938696462399297862725403634148385921454086935758927899891909701132179019396992842302538112311404836284699457056313197547975133129710333626056498756386368980763209301953479680808585071967823391044617250389007867285528781217862992925691830227645275690067290745183488605191764291231474176504078503185296115777562980626936611842513665579004798982931628712980436777697541395090079201440787336433162391532178625431582230113537140532942891178697787698305586108025318197383560219148191108964111843467396043421568358945015892245419629029008693899820618183633663825513011150138121961685613609635623800534205802978901494979139147550247742329203815594479818768256851135514921937480436504957621665255203766255831539165304148204483546489486256073931982691814993391581347728852523489951959675900253604255301196959018739306100530332807246113175133167051393580913491799812686680828009711481309702175428876907162233691537271192394282606582153336236953139343349521515780781714602004129567448051688623441855864320620825669730705841097252597388064935581203551579612236417936111464786236049624911181138290977371231789047947323165218955372950298957763306589271757971239595180825301118634085514439093404538455192898610207943221047779450159577278397733889371567268775781961444217949264355974188645660555675212075132210757251568463597475531659623153425963311871247926099717146856561999450475494525016048761650419386021092583701205918812175951806453822975903149036066854412755174475659681074685052068001048831814786138451701497941962740437319635820049895345158715920274271793102507514362326888831033173822807426036180363373896859904482110107854787226104475643629933697864873966262341703650607792457435405485277694380518814559778096009874379066021608821917336201145339775353712502213703091417594266562174716876888727382607456643167759785187910335010768315179145645311147303678491987766750163976301959418788842699370110621557260595853901197667175685595430995278259152485168540239757770719547016606604198786020243112648784099769334365358255006054628216530340390881641464040962433142151696291983830179437905824737787921336519039768196126960924358037933900315281068609892497237968832386295746611134437213728698310839835428408219465461038667493602232677823353155675482389669593415297487024977636595506147906488936363515640016850158667107039374116314821455879091668255059138095715928759062068240222282887435709889526976213729520604082166394313120836189952957503846032059433323828980915798218224879011666041148249558143124625113536211804843518781602779160399057041474487274091934845229783182703006334318095565125437674985696855479347489058878597741282520377531185535768006356304354130308376254681156412262611932978519469018636796699279953031984104890760299786413589924304247301816429938564998830736522487675606859601240365384408649681614602711959912634738947871074039579717484612806556752475466535029740548929880022618862774552268126846727661573222588088185845122629907094386490410959936449340483039605968914289613542986184524006872312705969609929108673898603747849059810239961000234430894480696980638134257066280537388779447056646953469177459440741360298173157663026867140207759197606354467918878205909615377249321096188283863688955118638447232075277890102981837782731604970983135775741430901660985532284804759304121979457253192757128785888194712817258957968412214323654465756348498925620394356646966340702492969426050366011889169423475378506237557967407922961504778620342911889289878365109574566746287466958480045733283693253051413714096497152981587459561484598455060144112588494701856282915540512804605463729046723475262661203322371728681796083998965898211181281397546844490781685614737282724536159825504937378612867759502241140048184455646508447835406124783803739357878214704428389696274520689341702051146016565034156586811509337045593964921308217301615413636734737826590229814046640547281299223966820228528726096071620828932140213568460676675273430013694740999965621509567676546090029284802534288752699657179011647182968498960729901092525400361778625079056552727726674705629249560328200880743386403184014433022159263222538246602694941141926339250736772322112951621977180547091593085642943049314327349397700366161840547540311543103269844128320758413481944472155028947636178786639152294530835610918017473697592280242471804228077970620615227003451686777084251108336591440373063332933379377303372390811024219820468048397303898772935134997658870579827661765340660136264395632597358497024574685644851856752996615675749889507593720986946830533508794808507918074256919112816701192882217832398535103104172527889607130361061104079263925239279320291648390227947312501521903602784422055955949693597155836244389216191521621551719652144594920725181345166541459948504537795060996076886210639140821064805156229318349683328141316422283742027369386367673759200677560469425122216366115838734654149760474608482693933003199696517880717477148416971013621718749298199197129895764463995801180366219656323793837529635771671977141832123034611369828694849967062609697778199814170580877366417389121676077781487069210776671479219248408404250233736437205787327120464239152163024787050238577151864164407581022378884896454639235123553573929976184156456571392600396839242990951652977279949107089803084875767170801225660979473402019034076847858222356385228980319583207691150479841705734992652055077955753666183393972937081286659411894257726416599728622904362748389144657295069245600227570754725821002117300048359313726779765223476353435356858707883381110723515408984134177551700594504466530324853493067882540045547119937328994058634346793091196064086711556670273913496432669955672425168890288725478841621550471204939563842831965108927848649644930172313517054584560851048791038766669282455092618529942950954158125254801989839090050500721346962110144126986991768975428879058760528583684326412207930578529924745417788137954617251770310038750849834171170490279314787891865253700986918080685635323341430169123919655466631544512911683498490557767484912336686835170998474392391983566600385126622623073380101868489656343710952630820178727186571669541430591514178488802217883348583945058928839771021212118489442211566115206369716893483085327878153126906319430623457590027489880005504320595952011110509554020875280436718585882523872885336040424667550081762400162392433965790553106287031823642655345456509612774373878231609058656570911478157959252303147397937226230627131478287895399714671001296021547472494492669762462347001879491393637070721498844634999061729971594725780418320723853212783541247975404306451414059626795257626943870724545369927320011601850375622213800803860272611010246070801745334517544242706463058665372358801601873595670544384432552154637124257839668132275777894746170855856746262995741157498455908848611026773352382382216908895835314552566141083269042346644889844141729755177242331077044385407911919509150218034255007349329687005610826382036885809344572416101773666432496903378369852869802306097612401397524389324549354450828091592468371390282383915471186013679068980032808870790640243638253058790831736772227661807207599739135188706375619326205980895246356357612495353948463936249937370689704722099928838746563328925080405562522439820811553656150224353917615881696831992950075420367581106688272704756914259840451613806565039677595985171586919476557445479545342699831560047514675999580536504852616297591961312774439634896610721055689950838443394831681310634174871985089903886280850470991502835586689893063407526592858493654400799035484460206934475202353466180738952992857369073518664020963045526635512550425675138800484180914220208912022123059571858826598194962664933092430735872718068794998830811017812006591124819380225118189740746641632672503648187455309443235348924664422075590714359903410093404790991756504269280269215302998493603896693403669503993240346467280652688500209517799631740583752681903308273211201163485566657979180614823823054433444445850322501466932413403965033409815817435633790759303922685875156191142118670303138981548741530199270205342076174468753620308376205398089452003195314786660165627731769423603553852897780817116139958589069015424592051962935624756074950124349605537970114253654931890171909996353144943051851512083401798459151828582909018630061319998282535659886808390639532131004657365414501849273670258152751543604130726092953908579825999493857831627715968096653570125501280772660517687309917323549557793293163903017871220653846858052719839328914379541476891810973130082317445917360862214584508215956621756881107740108107447542685219098392858366051307892868324960621056247478827183932905624813530732082422262390329436990209875812230055284082636097704551073463322808949882315448783658011260028770530530890976740678831741690067757218465676853003776254102104512615328316270390386659674946608236073072743762416132483183389891503138673761031742654027245268337785085829483014018685488143875431601417476229547776305102941424387059512487211743593758833121731222700211066476568052969943984002988728264358841978454394094553834464471908670271465507401482452756456846564527635701370877502407502955344860805412580231487908533968904426826824013760052513810281233197427042260418473941277390685979659011417410070297790716458324378904020666229253494482640045857787415496265603870584547431789109241623369520561938656112297825961815392169106318934115909182673183490609183624186069408660164374726561374038907923814575763663094101385213502003972973206945712315830179109129917075820823722578131202281930026277035700113771770883433490183073155760944647969803696771814158557556375962933933046241955013077257721063487153588585382938753750370745705093329721756900026471948876475601128562377022673271165800362589026809563223826838058770436562073285082799740581165857435000789868873490336882420150751823374176956537014382707736131164581151793839766987911196602904850416901617299245682477517685593108301886878943618560174186944467436903407894159351147577018667966464569567748914184579921789952118809543538602160341137799601722141657500966415642998351693655155218337858583001647785967195242385787079632364225555133505995583483701642673015153924242086456470102159972806551754294894149362303327934938286122483206159188225480887168435275164577260036701330593210786936732509967362933729678439184933326701402227052589803347397194510629181809114716717410146852860421941650692225744065170896357243204843551549790173761575856760331637131656545257835890484651996982288088194959837261746211616523117243562255402076255739111307225374784301730903455608536713601375991089086370337934622494873909640334262537800361522543366579331155250571869044561652895309983512328809751063874825196387880974571083892352178724601150760422584247235379804529281213242053211002988688625856927321713384674191047294072670901659273000493554443732131554683088217795269012111241280068116849548945093434469519912552299826294729383386183802283939101699644806392510809277516187249399714926707998003498887280854465447328465226162376762038570121576117814141598904717459791849168178416454685854088677479402731536825586701034307379469062157634142021979513547049634588629766597403904415656391010729474177614108107558152979625158669532798071636222953398584326384184939466744491323309047247563330599480178220269465321540084228006614232092026740981419807664937139585571692518622219136239731902583481349903193685905932281034123615926783033036370693606533322284357416920801938664264706523203121834921284407405380501945461280268913582048354560998374562284492464223153517840784612745539705241011986670739129745255924923653151065370261489781826301140358588823476148030399661415655772855811577027638372358216846303916229707114693610673462281397607653103867853834957302910857483164850765476416150890142081994488206264175646131434381167248413278399540721868406844878227544545740070033015816505944455239282221147099558026829881381665579847492336769105876531846102577881258678461777256378479410605576222466420979722776139685153696127641624934020546591533747864498696764511123209714146403040931807163866728491110732405606805063598428453394343081496209382645873744416288672546067974765936037011265872855810995628695050761574120377282529350833635255072885973810290063586373493422000726868691948883768523114826507874921980998586144376410749238884205134728697986306506290961797310775453453341978759731072462052916714062025991492641748804393678966284185681010125003170117376509553392708126314218292370633870204826300429856800603482623467768545613948468924539575250614714157561737416915897751566654938769278344503052756120097134852371549240724073626865214374460718610411281019295479293967127309622163545336953689884372946661058494814947070554252089851766113763735336348737267985402053691569301830982842359041555755653947599799781407416478068203372697580312252341744498791010809514492471148232742949042220619923401241323770894031323087468688698631449013597112929546119607532077876725812703050820787621637149788974052718197946603021619857820296938208199024512546948488491185074551615918669027109933997837611733222332415898321664153072564539162104420467733268802662909975825908331477145990486038495573310081060659265996309884257055430194044432354593528327512788764937641773009599129334748075978899006393450587783435810232006127359149570577904825042247003562144068317286739508954762441736976037551630865676090558365586698993711536596558631186256518870340106086632979423390961938751652171729218604631913009087953516755015973878480681093210446562105345868648484537625157937810718779653355330148301879114540912759601412099113407427410742782869811971163302149750518573609614475585060183198080667802479586264136551712646239648827465380140181055955262271907667321663017367238594381598847042889817202632634581579685812017370391150265292186024293007681991857278158797279632255295037512925789579997143320407067327382409689771170732631230551377960688968307701098229357605972760824846020284313799390582001383497931986580074208046219293074776453402657639789473112078646979763603440136038009511522183969947527147108523449706313304083856824317339589498086513312108936971883951940905637517425071336591909922985877855717262391212135244328550253070262982289271021899167838034001168134112958685974236438617809370689908059601934987923077062755011587226892869753665377843786600564056008957382672191831018087224078072978274022543160977867411829350034461636329210186591138746901308435656145970829399740408664909540181935849341822000480336055768332357410799256005995027694078356151931925692661119148979670843554825136072880024679744158324473192465910514576432536261335169906755852302278726308892469326031044950045123386149988007662600670991778835336413479631390871083268101802227760412220013136399476964101484807672759419695618439208519055970406961977460710687665689714426853590732974832281591906226012428124414546236414966864460377552418210184340603707434120286788915676563304898906255829522257631869683565257556828166721156329614148441280672708461571047832414811588861132604117980680760948894002496337060537828997338145461235748729637360190208535319573174273857645659579215402341914694795734954039638045455980795383266054003135262384269332402559168455720014189130548506489750702464016320479958789859138448158991309745683594377493651953000048656459473332655872303189516894349222337468046431841960248500593648324139002434410911676595812798274779971293480015328435620465612779142277598606666334400052646907273301325709632349407850463638943404805003065416285356680218024038754329925262487637959715296894745011123668580889936087823331962493839939492208439014358231239548976406990727880497548261096866033100286793682269926305186196105164387069503574950007696122914776085666811874853163136209306168745644720073565109595667479257412710856056975033121670358384658284866211221601522075706429349520744778620432527158739566108782979173499234325563700243402012246231697161795411693463314891465936859165670507947832302520450070742405630710571570698764832624475719594900197636787884437004215871133781435784521934469726323782393518909618329906125585482691889784289157573009630437988518994605598286182554006956075582165920724489405868164561971216015081102789122171702974364730715540467113711618998239525430464354072374829187694448026393120155977433782812653347488073547265862503882171573146464364202559311173800799334172676254386679296990503257141550025828660044720589282399089041891002385536732521336744893898218221187888598372945096465856103125847946909711611724908774720896151892400428341767565127935677153380382932418896302828918022746788062348757748408744576201813020900079312433814064188854901814078096264670454373477919605113437299922705150028025084135360253878272088591892175503560128409074076346812521297235129063828586969741557435995042430035232601574365243169695684016283185301686172328915252890851517539641327531050366689151328577341769787295912643784094927765575111566945726221441571526427022331867490085860364728230388437820101666764135147035195632005899175911784489807526707088293330039071312295893483446661436641115108309931010296206260734963537682402641743571945586692638501096594033726450236147707926581579587075097290723229664858829941535823037126108695981074614903357994322880488806269216971393999484801063753330307407974541025179628363962276626330092780179914879276566228367112635455130702427547284106647149587886218571145749330458538449865672740067902539984185537728893741545253563414969727050609409831356602895786225602725846726614133861162511891056069755951650646622850345695797526126399085335111423000070625499311210276946528933221164502624558925926991450994721883503595493462347645411724735490465207817496024022686097059099033764904464400406857121246966728527280668953352716040975773674448075846328574628109051222053737992104420316381955420753925162547838967481851225296740100748337760277736812003006546800461758941599517485790355953095909425187881450199895752097228391296422453654610082007540501303489761875920307402765471228874113700995039719980916758101555048640422120606134498679246865778659759039042095657125149659000214459497682847505609609276342465209364014687688752383274392251495002377646150917290280156877085621432640899349300977260234745678558392587706855635641373326986091673022667218210772852470128541121043608142965672942729382488590781754729745182696294185281840751389073193667291467428334365108679514160651466238365493934397720820594238906540176043956689354920207106689109703547948544221350218533192945106439275361144085168184972025918146523048504341916908557064068516191428462330782740371653930121182770897366097598501356404002019814948499108471877447505827502956161526418495619560538766048031896686485943414692663344083637346908468893906090181024371926868514539588349324093235008736192706724248494834579167090284562448430363073744708308541180158512605547061496760153408861010367376601528287738979518487712918489095015265417260226048661097173103364630685781714834961584406213845970851676767943395772383076596086341790449127847270546040179457157309965514389569102143871552812018352324520456288239702304767839546818534624342064136466357789455765643067849837766889519107322569552252185274853464339774617410469164026205344131094774852085315362075686794986593587109898991797985968535216664944736940338214326409998559640701541864739395543413336285258657087499084125933493609845744406286386971966150521872344916909138613328837975914340064596884808189115812721651466682418216871295215658702375649441739121707910154117883111889699180756149399064424556770779093681739973038454499629301744778385534029217242542012459404031928434313682830721446974616692593246095913076182788850438206336336309060074985901005369486546014377304662101699098784938355145963488235619758470929992330406957518725534920336848570737952397659797587683029929437360273158058249970779675160119546147586320785120228963518889989866863382955604905766521630435571001075215942414460982984538327287307241981415774867123291884200994073272475002299505681385896821146728988833900907577935709558913696722033120062874139302248930856148152086346996384079670364454153120970126947835935058847694813112758190193056390216131404578349831655766444580663583927880637183854412875