Fermat's factorization method: Difference between revisions

Content deleted Content added
Wroscel (talk | contribs)
cleanup of Sieve continued
Wroscel (talk | contribs)
rv effectiveness statement - I don't see any reason to support the change
Line 7:
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). EvenNonetheless, the combination of trial division and Fermat's methodis can be lessmore effective than trial divisioneither.
 
==The basic method==