Max even and odd proper divisor

Consider the hereunder table where the largest even and odd proper divisors of N are highlighted:
Idea A
We subtract ev from N then add od to the result and iterate:
 1,1,1,1,1,1,1,1,1,...   loop
 2,3,4,3,4,3,4,3,4,...   loop
 3,4,3,4,3,4,3,4,3,...   loop
 4,3,4,3,4,3,4,3,4,...   loop
 5,6,7,8,5,6,7,8,5,...   loop
 6,7,8,5,6,7,8,5,6,...   loop
 7,8,5,6,7,8,5,6,7,...   loop
 8,5,6,7,8,5,6,7,8,...   loop
 9,12,9,12,9,12,9,12,... loop
10,13,14,19,20,15,20,... loop
11,12,9,12,9,12,9,12,... loop
12,9,12,9,12,9,12,9,...  loop
13,14,19,20,15,20,15,... loop
14,19,20,15,20,15,20,... loop
15,20,15,20,15,20,15,... loop
16,9,12,9,12,9,12,9,...  loop
17,18,21,28,21,28,21,... loop
18,21,28,21,28,21,28,... loop
19,20,15,20,15,20,15,... loop
20,15,20,15,20,15,20,... loop
21,28,21,28,21,28,21,... loop
22,31,32,17,18,21,28,... loop
23,24,15,20,15,20,15,... loop
24,15,20,15,20,15,24,... loop
25,30,39,52,26,37,38,55,66,77,88,55,... loop
26,37,38,55,66,77,88,55,66,77,88,55,... loop
27,36,27,36,27,36,27,... loop
28,21,28,21,28,21,28,... loop
29,30,39,52,26,37,38,55,66,77,88,55,... loop
30,39,52,26,37,38,55,66,77,88,55,88,... loop
31,32,17,18,21,28,21,... loop
32,17,18,21,28,21,28,... loop
33,44,33,44,33,44,33,... loop

Question
Are we doomed to loop forever?
____________________
23.00 update#1
Giorgos Kalogeropoulos was quick to send this:

GK
> Some quick results on  record-length chains

 5->{5,6,7,8}
 10->{10,13,14,19,20,15}
 22->{22,31,32,17,18,21,28}
 122->{122,181,182,247,266,361,380,285}
 134->{134,199,200,125,150,175,210,245,294,343,392}
 2917->{2917,2918,4375,5250,6125,7350,8575,10290,12005,14406,16807,19208}
 3334->{3334,4999,5000,3125,3750,4375,5250,6125,7350,8575,10290,12005,14406,16807,19208}
 78125->{78125,93750,109375,131250,153125,183750,214375,257250,300125,360150,420175,504210,588245,705894,823543,941192}
 125000->{125000,78125,93750,109375,131250,153125,183750,214375,257250,300125,360150,420175,504210,588245,705894,823543,941192}
 390625->{390625,468750,546875,656250,765625,918750,1071875,1286250,1500625,1800750,2100875,2521050,2941225,3529470,4117715,4941258,5764801,6588344}
 625000->{625000,390625,468750,546875,656250,765625,918750,1071875,1286250,1500625,1800750,2100875,2521050,2941225,3529470,4117715,4941258,5764801,6588344}

Midnight update#2

> I will just leave here some more records below 100000000
1953125->{1953125,2343750,2734375,3281250,3828125,4593750,5359375,6431250,7503125,9003750,10504375,12605250,14706125,17647350,20588575,24706290,28824005,34588806,40353607,46118408}
3124999->{3124999,3125000,1953125,2343750,2734375,3281250,3828125,4593750,5359375,6431250,7503125,9003750,10504375,12605250,14706125,17647350,20588575,24706290,28824005,34588806,40353607,46118408}
6510418->{6510418,9765625,11718750,13671875,16406250,19140625,22968750,26796875,32156250,37515625,45018750,52521875,63026250,73530625,88236750,102942875,123531450,144120025,172944030,201768035,242121642,282475249,322828856}
48828125->{48828125,58593750,68359375,82031250,95703125,114843750,133984375,160781250,187578125,225093750,262609375,315131250,367653125,441183750,514714375,617657250,720600125,864720150,1008840175,1210608210,1412376245,1694851494,1977326743,2259801992}
78124999->{78124999,78125000,48828125,58593750,68359375,82031250,95703125,114843750,133984375,160781250,187578125,225093750,262609375,315131250,367653125,441183750,514714375,617657250,720600125,864720150,1008840175,1210608210,1412376245,1694851494,1977326743,2259801992}

Merci Giorgos! Love those beautiful chain-records!
___________________
Next day update#2
Jean-Marc Falcoz has sent the hereafter interesting "trick" to produce quantities of terms arbitrarily as large as one wants before entering a loop: "Start with 5^k. For these terms, we obtain a sequence containing 2*k+2 terms before looping. For example for k = 3, 5^3 = 125 gives 2*3+2 terms : {125,150,175,210,245,294,343,392}, then 245..."

JMF
Un truc simple qui donne des records de longueurs arbitrairement grands "avant looping", c'est de commencer par 5^k. Pour ces termes,  on obtient une suite contenant  2*k+2 termes avant de boucler. Par exemple pour k = 3, 5^3 = 125 donne 2*3+2 termes : {125,150,175,210,245,294,343,392}, puis 245...

Pour k = 10, 5^10 = 9765625 donne  2*10+2 termes :
{976562511718750,136718751640625019140625229687502679687532156250375156254501875052521875630262507353062588236750102942875123531450144120025172944030201768035242121642282475249322828856}, puis 201768035

Par exemple pour k = 100, on obtient 202 termes :
{7888609052210118054117285652827862296732064351090230047702789306640625946633086265214166494074278339343475607847722130827605724334716796875011044052673094165275764199913959007215424890091526322066783905029296875132528632077129983309170398967508086585098681098315864801406860351562501546167374233183138606987987954261010159484612813685089349746704101562518554008490798197663283855855451132121913815353764221072196960449218750216463432392645639404978318313596541422327845793915912508964538574218752597561188711747672859739819763158497067934149526990950107574462890625030304880534970389516696964563903515799125898411148227751255035400390625363658566419644674200363574766842189589510780933778733015060424804687504242683274895854532337575038946492211877625777560751885175704956054687550912199298750254388050900467357906542531509330729022622108459472656250593975658485419634527260505452508909662867608858505263924598693847656257127707901825035614327126065430106915954411306302063167095184326171875083156592187958748833816470763351247352801465240190736949443817138671875997879106255504986005797649160214968233617582882288843393325805664062501164192290631422483673430590686917462939220513362670317292213439941406251397030748757706980408116708824300955527064616035204380750656127929687501629869206883991477142802826961684448114908718707738444209098815917968751955843048260789772571363392354021337737890462449286133050918579101562502281816889637588067999923957746358227360872206190833821892738342285156252738180267565105681599908749295629872833046647429000586271286010742187503194543645492623295199893540844901518305221088667167350649833679199218753833452374591147954239872249013881821966265306400600820779800415039062504472361103689672613279850957182862125627309524134034290909767150878906255366833324427607135935821148619434550752771428960841149091720581054687506261305545165541658591791340056006975878233333787648007273674011230468757513566654198649990310149608067208371053880000545177608728408813476562508765827763231758322028507876078409766229526667302707210183143615722656251051899331587810998643420945129409171947543200076324865221977233886718750122721588685244616508399110265097736727213373342237900942564010620117187514726590642229353981007893231811728407265604801068548113107681274414062501718102241593424631117587543711368314180987226791330613195896148681640625206172268991210955734110505245364197701718467214959673583507537841796875024053431382307944835646225611959156398533821175078628584742546081542968752886411765876953380277547073435098767824058541009435430169105529785156250336748039352311227699047158567428189579473496451100800186395645141601562540409764722277347323885659028091382749536819574132096022367477416992187504714472550932357187786660219943994654112628950315411202609539031982421875565736706111882862534399226393279358493515474037849344313144683837890625066002615713053000629013243079215925157576805304415756836533546447753906257920313885566360075481589169505911018909216636529890820384025573730468750,9240366199827420088061854031090229522060752742618205957114696502685546875,1088439439792904105674224837308275426472903291141847148537635803222656250129365126797583881232865956435263213308850538396654883399605751037597656251552381521571006574794391477223158559706206460759858600795269012451171875018111117751661743372601233900936849863239075375531683675944805145263671875217333413019940920471214806811242198358868904506380204111337661743164062502535556485232644072164172746131158980853470552574435714632272720336914062530426677822791728865970072953573907770241646630893228575587272644042968750354977907932570170102984184458362257319485877360421000048518180847167968754259734895190842041235810213500347087833830528325052000582218170166015625049696907110559823814417785824170716024728022830458940006792545318603515625596362885326717885773013429890048592296736273965507280081510543823242187506957566995478375334018490015383900243461923196264251600950956344604492187583490803945740504008221880184606802921543078355171019211411476135253906250974059379366972546762588602153746034084669247476995224133133888244628906251168871255240367056115106322584495240901603096972394268959760665893554687501363683131113761565467624043015244447718536946467793313786387443542480468751636419757336513878561148851618293337262244335761351976543664932250976562501909156383559266191654673660221342226805951725054910639300942420959472656252290987660271119429985608392265610672167142070065892767161130905151367187502672818936982972668316543124309879117528332415076874895021319389343261718753207382724379567201979851749171854941033998898092249874025583267211914062503741946511776161735643160374033830764539665381107624853029847145080566406254490335814131394082771792448840596917447598457329149823635816574096679687505238725116486626429900424523647363070355531533550674794241786003112792968756286470139783951715880509428376835684426637840260809753090143203735351562507334215163081277001860594333106308298497744146970944711938500404357910156258801058195697532402232713199727569958197292976365133654326200485229492187501026790122831378780260483206634883161789684180575932259671390056610107421875123214814739765453631257984796185979414762101669111871160566806793212890625014375061719639302923646764892888364265055578528063051635399460792541503906251725007406356716350837611787146603711806669423367566196247935295104980468750201250864074950240931054708500437099710778099392882722895592451095581054687524150103688994028911726565020052451965293371927145926747471094131469726562502817512097049303373034765919006119395950893391500358120538294315338134765625338101451645916404764171910280734327514107206980042974464595317840576171875039445169358690247222486722866085671543312507481005013687536120414733886718754733420323042829666698406743930280585197500897720601642504334449768066406250552232371021663461114814120125199401606375104734070191625505685806274414062566267884522599615333777694415023928192765012568088422995060682296752929687507731253194303288455607397681752791622489251466276982682757079601287841796875927750383316394614672887721810334994698710175953237921930849552154541015625010823754472024603837850356754453908271484952052787775755859911441802978515625129885053664295246054204281053446899257819424633453309070318937301635742187501515325626083444537299049945623547158007893287390288605820387601852416992187518183907513001334447588599347482565896094719448683463269844651222229003906250212145587651682235221866992387296602121105060234640404814854264259338378906252545747051820186822662403908647559225453260722815684857778251171112060546875029700382271235512931061378934221524296954708432849656674079596996307373046875356404587254826155172736547210658291563456501194195880088955163955688476562504158053517972971810348593050791013401573659180598951934371143579483032226562549896642215675661724183116609492160818883910167187423212453722953796386718750582127492516216053448803027110741876220312285283853270811960101127624511718756985529910194592641385636325328902514643747423406239249743521213531494140625081497848952270247482832423795503862670843719939739457913674414157867431640625977974187427242969793989085546046352050124639276873494964092969894409179687501140969885331783464759653933137054077391812079156352410791441798210144042968751369163862398140157711584719764464892870174494987622892949730157852172851562501597357839464496850663515506391875708348536910818893375108018517494201660156251916829407357396220796218607670250850018244292982672050129622220993041992187502236300975250295590928921708948625991687951675146450725151225924491882324218752683561170300354709114706050738351190025542010175740870181471109390258789062503130821365350413827300490392528076388363132345205031015211716294288635253906253756985638420496592760588471033691666035758814246037218254059553146362304687504383149911490579358220686549539306943708385283287043421296402812004089355468755259779893788695229864823859447168332450062339944452105555683374404907226562506136409876086811101508961169355029721191739396601860789814963936805725097656257363691851304173321810753403226035665430087275922232947777956724166870117187508590973826521535542112545637097041609668435155242605105740949511528015136718751030916859182584265053505476451644993160212218629112612688913941383361816406250120273633571301497589575638919358582535358092173396471480373293161392211914062514432836028556179710749076670323029904242971060807576577644795179367065429687501683830869998220966254058944871020155495013290427550600725226104259490966796875202059704399786515950487073384522418659401594851306072087027132511138916015625023573632179975093527556825228194282176930186065985708410153165459632873535156252828835861597011223306819027383313861231622327918285009218379855155944824218750330030850519651309385795553194719950477022604923799917742144316434860229492187539603702062358157126295466383366394057242712590855990129057317972183227539062504620431907275118331401137744726079306678316468933198848390020430088043212890625554451828873014199768136529367129516801397976271983861806802451610565185546875064686046701851656639615928426165110293496430565064783877460286021232604980468757762325604222198796753911411139813235219571667807774065295234322547912597656250905604653825923192954622997966311544108950027910906974284444004297256469726562510867255845911078315455475975595738529307400334930883691413328051567077636718750126784651535629247013647219715283616175253003907526976399822160601615905761718751521415818427550964163766636583403394103036046890323716797865927219390869140625017749851214988094581910610760139706264535420547053776695975102484226226806640625212998214579857134982927329121676475174425046564645320351701229810714721679687502484979170098333241467485506419558877034958876587528737436514347791671752929687529819750041179998897609826077034706524419506519050344849238172173500061035156250347897083813766653805447970898738242784894242722254023241112008690834045410156254174765005765199845665375650784858913418730912667048278893344104290008544921875048705591733927331532762715925823353989885193981115563253755681216716766357421875584467100807127978393152591109880247878622327773386759045068174600601196289062506818782842749826414586780229615269558583927157356178855525795370340347290039062581825394112997916975041362755383234703007125888274146266309544444084167480468750954629597984975698042149232146137738201749802029865039773611351847648620605468751145555517581970837650579078575365285842099762435838047728333622217178344726562501336481437178965977259008925004592833482449722841811055683055892586708068847656251603777724614759172710810710005511400178939667410173266819667071104049682617187501871074012050552368162612495006429966875429611978535477956278249621391296386718752245288814460662841795134994007715960250515534374242573547533899545669555664062502619503616870773315427657493009001953625601456769949669138789549469947814941406253143404340244927978513188991610802344350721748123939602966547459363937377929687503667305063619082641598720490212602735075842039477929536794305369257926940917968754400766076342899169918464588255123282091010447373515444153166443109512329101562505134227089066715698238208686297643829106178855269101351512027516961097717285156256161072506880058837885850423557172594927414626322921621814433020353317260742187507187917924693401977533492160816701360748650397376741892116838523745536804199218758625501509632082373040190592980041632898380476852090270540206228494644165039062501006308509457076276854688902514338190504811055632743864896357393324375152587890625120757021134849153222562668301720582860577326675929263787562887198925018310546875014088319132399067875965644635200734667067354778858414108549003506541252136230468751690598295887888145115877356224088160048082573463009693025880420784950256347656250197236467853586950263519024892810285338942966904017797519686049091577529907226562523668376142430434031622282987137234240673156028482135702362325890989303588867187502761310549950217303689266348499343994745201536656249165275604687282085418701171875331357265994026076442711961819921279369424184398749899833072562473850250244140625038658347699303042251649728878990815926432821513187488313858465621949195861816406254639001723916365070197967465478897911171938581582498597663015874633903503417968750541216867790242591523096204305871422970059501184624836394018518707288742065429687564946024134829110982771544516704570756407140142154980367282222244874649047851562507577036149063396281323346860282199921580833016584747709516259261902042388916015625909244337887607553758801623233863990589699961990169725141951111428245086669921875010607850608688754793852685604395079890213166223218646793322762966662859344482421875127294207304265057526232227252740958682557994678623761519873155599954312133789062501485099085216425671139375984615311184629843271250610551065186815332800308227539062517821189022597108053672511815383734215558119255007326612782241783993603698730468750207913871930299593959512637846143565848178057975085477149126154146592043151855468752494966463163595127514151654153722790178136695701025725789513849759104517822265625029107942070241943154331769298460099218744928116511966800877661580522886041259765625349295304842903317851981231581521190624939137398143601610531938966274632495117187504075111889833872041606447701784413890624289936311675352122872621273204045776367187548901342678006464499277372421412966687491479235740104225474471455278448549316406250570515664576742085824902678249817944687400591083634549297202166978248566408691406256846187974920905029898832138997815336248807093003614591566426003738982796904296875079872193040743892015486374954974512256236082751708836901608303376954799297216796875958466316488926704185836499459694147074832993020506042819299640523457591566601562501118210702570414488216809249369643171587305158523923716622516247277367190161035156251341852843084497385860171099243571805904766190228708459947019496732840628193242187501565494983598580283503532949117500440222227221933493203271522746188314066225449218751878593980318296340204239538941000528266672666320191843925827295425976879470539062502191692977038012396904946128764500616311118110706890484580131844663639692715628906252630031572445614876285935354517400739573341732848268581496158213596367631258754687503068370167853217355666924580270300862835565354989646678412184582529095569801880468753682044201423860826800309496324361035402678425987576014094621499034914683762256562504295718234994504297933694412378421207969791496985505349777058415540733797722632656255154861881993405157520433294854105449563749796382606419732470098648880557267159187506014005528992306017107172177329789691157708095779707489687881781757027316811685718757216806634790767220528606612795747629389249714935648987625458138108432780174022862508419607740589228423950041048261705567620791334091590485563034494459838243536360006251010352928870707410874004925791404668114494960090990858267564139335180589224363200750117874508368249197935300574675663877946691078677282266797882482922437735409509040087514144941004189903752236068961079665353602929441273872015745897950692528249141084810501650243117155488771094208045459294291253675101481951735170354760914128295733126561225198029174058658652531304965455115314950441012177834208220442571309695395487975187347023103403640176842795318912636430120077551451420747324292384966652797796140263771857152772408436821221135438269516371614409306174170489678915086195998335735536831652622858323447650962475799134464776910021681085720319890462540093389533139169145963692806000136965445824282948472510260218288192124082322273195718867815946644476473824422034971442310340364017684279531891263643012007755145142074732429238496665279779614026377185715}
puis 2310340364017684279531891263643012007755145142074732429238496665279779614026377185715, qui boucle.
Si on veut 1000 termes avant la boucle, on partira de 5^499.

JMF (cont.)
Méthode
(Method)
On part de n=5^k, (We start with n=5^k)
le terme suivant est (the next term is)
5^k - 0 + 5^(k-1) = 5^(k-1)*[5+1] = 6*5^(k-1), donc 6*n/5 (thus 6*n/5)
le terme suivant est (the next term is)
6*5^(k-1) - 2*5^(k-1) + 3*5^(k-1) = 7*5^(k-1), donc 7*n/5 (thus 7*n/5)
le terme suivant est (the next term is)
7*5^(k-1) - 0 + 7*5^(k-2) = 7*5^(k-2)*[5+1], donc n*(6*7)/(5*5) (thus n*(6*7)/(5*5))
... on continue ainsi, avec les puissances de 5 qui diminuent (elles sont au dénominateur) et les puissances de 7 qui augmentent. (... we continue like this, with the powers of 5 decreasing (they are in the denominator) and the powers of 7 increasing.)
...
On arrive à la boucle : 5*7^(k-1) , qui donne 
(We arrive at the loop: 5*7^(k-1), which gives)
5*7^(k-1) - 0 + 7^(k-1) = 6*7^(k-1), qui donne (which gives)
6*7^(k-1) -  2*7^(k-1) +  3*7^(k-1) = 7^k , qui donne (which gives)
7^k - 0 +  7^(k-1) =  8*7^(k-1) qui donne (which gives)
8*7^(k-1) - 4*7^(k-1) + 7^(k-1) = 5*7^(k-1) , et ça recommence. (and it begins again.)
____________________
Many thanks, Jean-Marc, very convincing method!

(Dall-e creation)
Idea B
(coming soon, lavoro in progresso) 

1 1 1 2 1 3 1 4 3  5  1  6  1  7  5  8  1  9  1 10  7 11  1 12  5 13  9 14  1 15  1 16 11 17  7 18  1 19 13 20

  





Commentaires

  1. On peut remarquer le "dernier élément" des cycles records sont de la forme x = 8*7^k. Pour ces nombres, ev = 4*7^k et od = 7^k, d'où le successeur x' = (8-4+1)*7^k = 5*7^k => ev=0, od = x'/5 => x'' = (5+1)*7^k = 2*3*7^k => ev = 2*7^k, od = 3*7^k => x"' = (6-2+3)*7^k = 7^(k+1) => ev=0, od =7^k => x"" = 8*7^k = x, et la boucle est bouclée.

    RépondreSupprimer
    Réponses
    1. *leS dernierS élémentS... On a (392, [2744], 19208, [134456], 941192, 6588344, 46118408, 322828856, 2259801992) = 8 * 7^(k = 2, 3, 4, ..., 10). Il est fort probable qu'un prochain record se produit avec 8*7^11 = 15818613944, etc.

      Supprimer

Enregistrer un commentaire

Posts les plus consultés de ce blog

Beautés ?

Underline, reproduce

Le tripalin se présente