Content deleted Content added
→Fermat's and trial division: rename "c" to "a_max" because "c" was already used for something else |
→Fermat's and trial division: renaming |
||
Line 70:
Trial division would normally try up to 48,432; but after only four Fermat steps, we need only divide up to 47830, to find a factor or prove primality.
This all suggests a combined factoring method. Choose some bound <math>a_{\mathrm{max}} > \sqrt{N}</math>; use Fermat's method for factors between <math>\sqrt{N}</math> and <math>
In this regard, Fermat's method gives diminishing returns. One would surely stop before this point:
|