Fermat's factorization method: Difference between revisions

Content deleted Content added
m Reverted edit by 2A00:23C7:D609:6A01:79D7:BE1B:3C6D:ED98 (talk) to last version by Anita5192
Fermat's and trial division: Provided clarification
Line 50:
 
==Fermat's and trial division==
Consider trying to factor the prime number {{nowrap|1=''N'' = 23456789172,345,678,917}}, but also compute ''b'' and {{nowrap|''a'' − ''b''}} throughout. The first try for a is the square root of 2,345,678,917 rounded up to the next integer, which is 48,433. Going up from <math>\sqrt{N}</math>, we can tabulate:
{| class="wikitable"
|-
! Try
| 1 || 2 || 3 || 4
|-
! ''a''