p:=1355912482304679377887487758346147633900373074668649435290550629802420195514276486836937958029578386351546627119214396469; q:=50248191594291484564740960681639530146235395963601585562284859415426419457705468645716112398542382996392421480295251767252359709783; n:=p*q; e:=21344994621692026374746166212755925147861060304319836290537059630761753379082601340297938718954279141473021992827236171779883173059771537986069540487083916947326786290812575023071391256027402621715749313049812318617534422848299055630791112277490871149; amicable:=[47527662940911858632623137629384292826572760988489547559814325666468918656801555160763433632598920149545568603290084799520866365640456997919657940008771455212735054016531968787102859607703419471046479793969759772341806628646371456592578356665858884518, 35628784447869528886838309242034268336927667608084411538995105951044086554829304178551423382622745211915404140765922894083560180934838900832181457448095381382477115737127999878894380673331316209919062295921074937960854754088205228940969903380081943248, 4709065256236780724490670628603971918392782921351180557122586787548821771956437931214344719587767334133993776940496087689326610930159448496019124776160367384569267734118159444283383184497561032275885091426737756163161334632515665592853489475223233882]; encipheredphi:=[8025512760594496856885695006546731381641316694487186399970772199970385895635202829950422051089559484845260614543753834467645209534124635977759222089818534642240994244808477003657716960776861777349066749991182175416529488786856474999314306153795332661, 49896735929209362045438357893174931533487009441675604167243905299590923345475694305922613683114551280236613926955957964931369490973441928261484984360559074297594413715096196684050687798655366562800660419134369386121426886009646809265261243454943559558, 65334163997766292152957721861678758797569253016940294232296789350305631194165876515966535093058371631595486292614282310740737248057353348709518259144088973780017038786371359943133031016034249120926675456899745192572800898438384588180476148248742399565]; encipheredtau:=[16225781012102709070633337157305504005630202375443587311972686287055411976714309955406772091448154113709910925782531880673452548246999224925532456526978686327999521762317114240322609829796697527911317354478025535374495311583108496988072998855323489360, 15860566598799353635077736586766408011771470688163915149746628433810842698888738160074677143594477900428018446623791923765948510036438147736541110125406692067314229892410052647537654853094641491874332690309806708988157789360341904687869455397819095067]; encipheredsigma:=[18647971836110000688171243533450275838724913133278544617852570843545703552685927625791196450435519963253890291850975061389568481611234292861035323364860765372940418486889069160515855112883057457788015617951508678066223649925713533356221597995696240859, 4033743279127269742470812645267084654099718341515395244992072306450653799172326640832158130015756956740382549408883143996922151734196932520013692375281212963539196709576401396498173651670973473639230528608784191881929621460187340027793768816204342967]; encipheredmu:=[62690049311157070854351281759342499522674379675780588780189890800919579405298543643160058864209484823466321451832471866547590067091653252207320353234757074759375607374714629592613510312810115760892852914293838126256073023633914927153765562579275008410, 1375741290913629870316506927407907228446400559379951641805261271334554365400425338247050403358884596392805902794964901122081824450218951148818842779797303903014174148566603285312157213675147230898096946041020975745961865739869656433211610069579428443, 18630713931750162385710280278886619491799510882491161547133563004891897406940509761159211370365176800590977637669380806780394392806067579953693167203318598428795785698664556016319377801291504358409615383648896649024538235117611173192943377651750596659, 6636074085922997665781848756379485878556047611663331460344111679179460467856345808660458472361464459874614274803741900363555595985765442776701891962843093498330941158848445464863986492032558370462323082086863460009215126420521791833151523862858255745]; mersenne:=[18032645592652341293916249319982612124108260770970758039460271211912344928084163729473001009663934109375602424284003342116323723777001301787380346726036209175040424593904827878014173869579407891524990027070799784273485447837379379884801663802512028882]; base3repunits:=[57581169512332419623618517706359990783782638906350465454817281155742309742998368391159781440933062000909389024888388341267819495222760544669471656359554278676111132667103225634810424738123890811682432264841753017901991627674391527331765082185665348899, 53723494880023803538345013384396013382805381448510926282368115043648149945737609724327049980138998375092211442090905301865389789874419487480865369417750620577664688777100501392979115734195296622891940187774983520521711214034722454054426959527378978050, 65104266341299139506145696962750067059512657719899096445010329003407848376713289768601744354758140313977665799019714769736010724501684265082036879028944847006727116939982363919148546842781940051618100523043895216743824869537936565497024711314691396339, 65654572272810543362051107295467121502487638578005220953267847287651409801840101433469020198034525631137327067003667131353822624960595646954192538021487966384068660494419650728711730036525127488933401349609611102306009057965913261904898265181935290187];