Fermat's factorization method: Difference between revisions

Content deleted Content added
JCSBimp (talk | contribs)
m Other improvements: Pluralized "square" in the final sentence.
m minor flesh out of sentence, adding "by itself". No semantic change.
Line 9:
Since ''N'' is odd, then ''c'' and ''d'' are also odd, so those halves are integers. (A multiple of four is also a difference of squares: let ''c'' and ''d'' be even.)
 
In its simplest form, Fermat's method might be even slower than trial division (worst case). Nonetheless, the combination of trial division and Fermat's is more effective than either by itself.
 
==Basic method==