(38G) Fermat Factorization
|
11-29-2016, 06:16 PM
(This post was last modified: 06-15-2017 01:56 PM by Gene.)
Post: #1
|
|||
|
|||
(38G) Fermat Factorization
The programme accepts a positive, composite odd number from Ans in the Home screen & returns a factor in Ans.
Fermat's method involves expressing the number to factor as the difference of two different integer squares & so finding two factors. The only division involved is in the last line of the programme. Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(38G) Fermat Factorization - Gerald H - 11-29-2016 06:16 PM
|
User(s) browsing this thread: 1 Guest(s)