Fermat's factorization method: Difference between revisions

Content deleted Content added
Maëlan (talk | contribs)
JCSBimp (talk | contribs)
m Other improvements: Pluralized "square" in the final sentence.
Line 150:
 
==Other improvements==
The fundamental ideas of Fermat's factorization method are the basis of the [[quadratic sieve]] and [[general number field sieve]], the best-known algorithms for factoring large [[semiprimes]], which are the "worst-case". The primary improvement that quadratic sieve makes over Fermat's factorization method is that instead of simply finding a square in the sequence of <math>a^2 - n</math>, it finds a subset of elements of this sequence whose ''product'' is a square, and it does this in a highly efficient manner. The end result is the same: a difference of squaresquares mod ''n'' that, if nontrivial, can be used to factor ''n''.
 
==See also==