Content deleted Content added
→Fermat's and trial division: added explanations were redundant |
No edit summary |
||
Line 25:
'''return''' a - {{Not a typo|sqrt(b2)}} ''// or a + {{Not a typo|sqrt(b2)}}''
For example, to factor <math>N = 5959</math>, the first try for ''a'' is the square root of {{math|5959}} rounded up to the next integer, which is {{math|78}}. Then
{| class="wikitable" style="text-align:right;"
|