Skip to content

Commit

Permalink
after delivery
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyteitelbaum committed Jun 29, 2018
1 parent 2baf0c8 commit 4d455cd
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions ctnt2018/ECM.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,21 @@ def ecm(N,arange=100,krange=10000):
# Richard Brent, John Pollard
# Mathematics of Computation, Volume 36, Number 154, April 1981
#V=1238926361552897
N=2**(256)+1
print('Factor of F8', ecm(N,arange=100,krange=10000),flush=True)
#N=2**(256)+1
#print('Factor of F8', ecm(N,arange=100,krange=10000),flush=True)

# These smaller factors were found in 1988 by Brent

N=2**(2**11)+1
print('Factor of F11', ecm(N,arange=100,krange=10000),flush=True)
d1=ecm(N,arange=100,krange=10000)
print(d1)
d2=ecm(N//d1)
print(d2)
M=N//(d1*d2)
d3=ecm(M)
print(d3)
d4=ecm(M//d3)
print('Factors of F11',d1,d2,d3,d4,flush=True)



Expand Down

0 comments on commit 4d455cd

Please sign in to comment.