Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Project: experiments
Path: e.sagews
Views: 156
#Всем привет. найдем 5000 знаков от числа е #Timo digits=5000 delta=10^digits result=0 for i in range(0,digits*10): result=result+int(delta/factorial(i)) final=str(result)[:1]+'.'+str(result)[1:] print "\n".join([final[i:i+60] for i in range(0, len(final), 60)])
2.7182818284590452353602874713526624977572470936999595749669 676277240766303535475945713821785251664274274663919320030599 218174135966290435729003342952605956307381323286279434907632 338298807531952510190115738341879307021540891499348841675092 447614606680822648001684774118537423454424371075390777449920 695517027618386062613313845830007520449338265602976067371132 007093287091274437470472306969772093101416928368190255151086 574637721112523897844250569536967707854499699679468644549059 879316368892300987931277361782154249992295763514822082698951 936680331825288693984964651058209392398294887933203625094431 173012381970684161403970198376793206832823764648042953118023 287825098194558153017567173613320698112509961818815930416903 515988885193458072738667385894228792284998920868058257492796 104841984443634632449684875602336248270419786232090021609902 353043699418491463140934317381436405462531520961836908887070 167683964243781405927145635490613031072085103837505101157477 041718986106873969655212671546889570350354021234078498193343 210681701210056278802351930332247450158539047304199577770935 036604169973297250886876966403555707162268447162560798826517 871341951246652010305921236677194325278675398558944896970964 097545918569563802363701621120477427228364896134225164450781 824423529486363721417402388934412479635743702637552944483379 980161254922785092577825620926226483262779333865664816277251 640191059004916449982893150566047258027786318641551956532442 586982946959308019152987211725563475463964479101459040905862 984967912874068705048958586717479854667757573205681288459205 413340539220001137863009455606881667400169842055804033637953 764520304024322566135278369511778838638744396625322498506549 958862342818997077332761717839280349465014345588970719425863 987727547109629537415211151368350627526023264847287039207643 100595841166120545297030236472549296669381151373227536450988 890313602057248176585118063036442812314965507047510254465011 727211555194866850800368532281831521960037356252794495158284 188294787610852639813955990067376482922443752871846245780361 929819713991475644882626039033814418232625150974827987779964 373089970388867782271383605772978824125611907176639465070633 045279546618550966661856647097113444740160704626215680717481 877844371436988218559670959102596862002353718588748569652200 050311734392073211390803293634479727355955277349071783793421 637012050054513263835440001863239914907054797780566978533580 489669062951194324730995876552368128590413832411607226029983 305353708761389396391779574540161372236187893652605381558415 871869255386061647798340254351284396129460352913325942794904 337299085731580290958631382683291477116396337092400316894586 360606458459251269946557248391865642097526850823075442545993 769170419777800853627309417101634349076964237222943523661255 725088147792231519747780605696725380171807763603462459278778 465850656050780844211529697521890874019660906651803516501792 504619501366585436632712549639908549144200014574760819302212 066024330096412704894390397177195180699086998606636583232278 709376502260149291011517177635944602023249300280401867723910 288097866605651183260043688508817157238669842242201024950551 881694803221002515426494639812873677658927688163598312477886 520141174110913601164995076629077943646005851941998560162647 907615321038727557126992518275687989302761761146162549356495 903798045838182323368612016243736569846703785853305275833337 939907521660692380533698879565137285593883499894707416181550 125397064648171946708348197214488898790676503795903669672494 992545279033729636162658976039498576741397359441023744329709 355477982629614591442936451428617158587339746791897571211956 187385783644758448423555581050025611492391518893099463428413 936080383091662818811503715284967059741625628236092168075150 177725387402564253470879089137291722828611515915683725241630 772254406337875931059826760944203261924285317018781772960235 413060672136046000389661093647095141417185777014180606443636 815464440053316087783143174440811949422975599314011888683314 832802706553833004693290115744147563139997221703804617092894 579096271662260740718749975359212756084414737823303270330168 237193648002173285734935947564334129943024850235732214597843 282641421684878721673367010615094243456984401873312810107945 127223737886126058165668053714396127888732527373890392890506 865324138062796025930387727697783792868409325365880733988457 218746021005311483351323850047827169376218004904795597959290 591655470505777514308175112698985188408718564026035305583737 832422924185625644255022672155980274012617971928047139600689 163828665277009752767069777036439260224372841840883251848770 472638440379530166905465937461619323840363893131364327137688 841026811219891275223056256756254701725086349765367288605966 752740868627407912856576996313789753034660616669804218267724 560530660773899624218340859882071864682623215080288286359746 839654358856685503773131296587975810501214916207656769950659 715344763470320853215603674828608378656803073062657633469774 295634643716709397193060876963495328846833613038829431040800 2968738691170666660587