When faced with a large number n to factor, what do you do first? You might say “Look at the last digit, ” with the idea of cheaply pulling out possible factors of 2 and 5. Sure, and more generally, you can test for divisibility cheaply by all of the ver
SMOOTHNUMBERSANDTHEQUADRATICSIEVE
CarlPomerance
Whenfacedwithalargenumberntofactor,whatdoyoudo rst?Youmightsay“Lookatthelastdigit,”withtheideaofcheaplypullingoutpossiblefactorsof2and5.Sure,andmoregenerally,youcantestfordivisibilitycheaplybyalloftheverysmallprimes.Soitmayaswellbeassumedthatthenumbernhasnosmallprimefactors,saybelowlogn.Sinceitisalsocheaptotestforprobableprimeness,saythroughthestrongprobableprimetest,andthenactuallyproveprimalityasin[4]inthecasethatyoubecomeconvincednisprime,italsomayaswellbeassumedthatthenumberniscomposite.
Trialdivisionisafactoringmethod(andintheextreme,aprimalitytest)thatinvolvessequentiallytryingnfordivisibilitybytheconsecutiveprimes.Thismethodwasinvokedabovefortheremovalofthesmallprimefactorsofn.Theonlythingstoppingusfromcontinuingbeyondthesomewhatarbitrarycuto oflognistheenormoustimethatwouldbespentifthesmallestprimefactorofnisfairlylarge.Forexample,ifnwereamodulusbeingusedintheRSAcryptosystem,thenascurrentprotocolsdictate,nwouldbetheproductoftwoprimesofthesameorderofmagnitude.Inthiscase,factoringnbytrialdivisionwouldtakeroughlyn1/2steps.Thisalreadyisanenormouscalculationifnhasthirtydecimaldigits,andfornumbersonlyslightlylonger,thecalculationisnotpossibleatthistimebythehumanraceandalloftheircomputers.
Di erenceofsquares
Wehavelongknownhoweverthattrialdivisionisnottheonlygameintownforfactoring.Takethenumber8051forexample.Thisnumberiscompositeandnotdivisiblebyanyprimeuptoitslogarithm.Onecanseeinstantly(ifonelooks)thatitis8100 49,thatis,
8051=902 72.
Thus,wecanusealgebratofactor8051asadi erenceofsquares.Itis(90 7)×(90+7),or83×97.Everyoddcompositecanbefactoredasadi erenceofsquares(aneasyexercise),sowhydon’tweusethismethodinsteadoftrialdivision?
Letustryagainonthenumbern=1649.Again,1649iscomposite,butnotdivisiblebyanyprimeuptoitslogarithm.Whatworkedwith8051wastotakethe rstsquareabove8051,namely902,andthennoticethat902 8051=49,where49isrecognizedasasquare.Itwouldseemingeneralthatonecouldwalkthroughthesequencex2 nwithx= n1/2 , n1/2 +1,...,lookingforsquares.Withn=1649wehave
412 n=32,
422 n=115,
432 n=200,
...
withnosquaresinimmediatesight.
1(1)
The Quadratic Sieve Fact... 12页 免费 Smooth numbers and the q... 暂无评价 10页 免费 A New Grouping Genetic A... 9页 10财富值 Implementation of...
In fact, before the invention of the number ?eld sieve the quadratic sieve was the best known algorithm to factor large integers, and the principles of...
The Large Sieve Inequality for Quadratic Polynomial Amplitudes We provide ...x0 ≤ H for all (x, y) ∈ I × I and the number of integer ...
The Quadratic Sieve Fact... 12页 免费 A Derivation of Enriched... 18...(x + 1) If a product of two numbers equals zero, for example, ab =...
[5] to the modern algorithms, the quadratic sieve [6] and the number ?...(x1 ) , Q (x2 ) , ..., Q (xL )} are B-smooth numbers for a...
?rst and second moment methods and analytical estimates on smooth numbers....[2], the quadratic sieve [5], the multiple polynomial quadratic sieve [8...
例如连分数法(the Continued Fraction Method), 二次筛选法(the Quadratic Sieve)(及其变种), 还有数域筛选法(the Number Field Sieve, 简称 NFS)(及其变种)....
large number using quadratic sieve, and the experimental result is obtained....QS 中涉及两个稀疏矩阵 和, 存放筛选所得的具有 smooth 关系 [6] 的各分解...
[3] J. L. Gerver, Factoring large numbers with a quadratic sieve, Math. Comp. 41 (1983), 287-294. [4] J. A. Davis and D. B. Holdridge, ...
the quadratic sieve), one gradually constructs a set of integers, and ...are not really random numbers but rather are determined by some procedure. ...

我要评论