| Bill Allombert on Wed, 28 Feb 2024 16:39:32 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: foursquares.gp |
On Wed, Feb 28, 2024 at 10:01:02AM +0100, hermann@stamm-wilbrandt.de wrote: > On 2023-11-19 00:28, hermann@stamm-wilbrandt.de wrote: > > Bill did develop and tuned foursquares.gp based on this thread: > > https://pari.math.u-bordeaux.fr/archives/pari-users-2310/msg00003.html > > > > You can find foursquares.gp in contributed GP scripts section: > > https://pari.math.u-bordeaux.fr/Scripts/ > > https://pari.math.u-bordeaux.fr/Scripts/foursquares.gp > > > Just saw (interesting) discussion > "Fermat's 12th composite part as sum of two squares" > in "mersenneforum.org->Fun Stuff->Puzzles": > https://mersenneforum.org/showthread.php?t=29344 > > F_12 (2^2^12+1) has 6 known factors, and the composite part has 1133 decimal > digits. > Alpertron used his calculator to provide one sum of two squares > representation. Another way to state it is to say that one knows one square root of -1 modulo the composite (the square root is 2^2^11) so we need another one to factor N. N = (2^2^12+1)/114689/26017793/63766529/190274191361/1256132134125569/568630647535356955169033410940867804839360742060818433; A = gcd(2^2^11 + I,N); ? norm(A)==N %16 = 1 ? real(A) %17 = 200632848085394229198405077309776409669556160755822894920478194045891524675173877582799789843512719390209285348887171584058267613825062519170949236869832740299611688879431491248560122275125138227835639875304442149679485916420376715785002453587853905329008047468218821526665318251417289791164787502264540469658007753188396466487968753988674615092615847790001421479841641921279595503860736218792224235350272376658369292603790019796500735806899786991660195728966759044116399240680328117271881207382080232786405040556863376322477213246700048245459183343930058344600346916 ? imag(A) %18 = 11512882899820054257144225772505994511430981968359355559240636997087397239461885404688940982112272498773691260355731224763278685518244745544198267923163368736091123701779226072209279679342867029500044275233215203437226071842172804234583591297137729569486761340213325710137879698831126615998659706343950808674850862574868322314902443424081205544133789500128645355501388833990928089030944977862262874243179626287736961093227838096073086612878632276868708056678373714902078426666851025890207418013027573248367464970951431311736356210867866665430397629513384884406535591 Cheers, Bill.