mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2019-09-23, 15:18   #34
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

32×7×31 Posts
Default

Quote:
Originally Posted by PhilF
I am currently running curves on M1277 myself, using Prime95 for stage 1, with both B1 and B2 set at 800000000. Stage 2 is being run by GMP-ECM, and by using the -k 2 option when invoking it I am getting a B2 bounds of 25,992,573,767,178.
GMP-ECM seemed familiar so I checked. I had it stored on an external hard drive. It is a Windows build. I don't know from Linux. Despite looking at the short readme document, I could not get it do much of anything.

Quote:
Originally Posted by LaurV
TF is like taking a surface, and placing a black dot on it. Under the black dot there is no gold to dig, anymore...
After a while, TF becomes a cumbersome process. I still have Luigi's original Factor5 program. I started it on M1277. After a short time, I looked at the percentage complete and the time it used then made some rough calculations. I came up with 6.6 years. No way! It will have to stay at 267.

Quote:
Originally Posted by LaurV
I hope this fixes it...
It does. You wrote a lot and I really appreciate your effort.

@hansl I saved the web page you linked as an HTML file. I found it to be quite useful in understanding this process more.

storm5510 is offline   Reply With Quote
Old 2019-09-23, 16:55   #35
PhilF
 
PhilF's Avatar
 
Feb 2005
Colorado

22×7×23 Posts
Default

Quote:
Originally Posted by storm5510 View Post
GMP-ECM seemed familiar so I checked. I had it stored on an external hard drive. It is a Windows build. I don't know from Linux. Despite looking at the short readme document, I could not get it do much of anything.
I don't have the development tools loaded on my current Windows 10 system, so instead of compiling from source I grabbed this Windows binary, courtesy of Dylan14. It is compiled for the Intel Skylake architecture, and I have a Coffee Lake which is very similar:

https://www.mersenneforum.org/showthread.php?p=513979

Here's a great write-up on how to use it courtesy of lycorn:

https://www.mersenneforum.org/showthread.php?p=400703
PhilF is offline   Reply With Quote
Old 2019-09-23, 18:26   #36
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

32·7·31 Posts
Default

Quote:
Originally Posted by PhilF View Post
...It is compiled for the Intel Skylake architecture, and I have a Coffee Lake which is very similar:

https://www.mersenneforum.org/showthread.php?p=513979

Here's a great write-up on how to use it courtesy of lycorn:

https://www.mersenneforum.org/showthread.php?p=400703
I have a Kaby Lake and it seems to start this one alright.

Perhaps you could give some examples of command-line inputs. That might help.
storm5510 is offline   Reply With Quote
Old 2019-09-23, 18:35   #37
PhilF
 
PhilF's Avatar
 
Feb 2005
Colorado

22·7·23 Posts
Default

Quote:
Originally Posted by storm5510 View Post
I have a Kaby Lake and it seems to start this one alright.

Perhaps you could give some examples of command-line inputs. That might help.
Here's the command line I use:

ecm -v -k 2 -timestamp -resume ecm-in.txt -save ecm-out.txt 8e08-8e08

This is after placing Prime95's output (from results.txt) into ecm-in.txt.

Lycorn's post outlines all the steps pretty well.
PhilF is offline   Reply With Quote
Old 2019-09-24, 13:40   #38
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

32×7×31 Posts
Default

In the wee hours of this morning before hitting the rack, I found a different instruction document for GMP-ECM. It contains most of the information in the readme file in the archive. Its layout is far easier for my old eyes to read. I need that.

Quote:
Originally Posted by hansl View Post
...2^67 is equivalent to k=57,781,500,622,426,160
A question: What is the relationship between k values and powers of 2? There must be some type of conversion...

storm5510 is offline   Reply With Quote
Old 2019-09-24, 13:53   #39
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

22·1,549 Posts
Default

Quote:
Originally Posted by storm5510 View Post
A question: What is the relationship between k values and powers of 2? There must be some type of conversion...
2^67 = 2*k*p, k = 57781500622426160, p = 1277
retina is online now   Reply With Quote
Old 2019-09-24, 13:54   #40
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

66718 Posts
Default

Quote:
Originally Posted by storm5510 View Post
In the wee hours of this morning before hitting the rack, I found a different instruction document for GMP-ECM. It contains most of the information in the readme file in the archive. Its layout is far easier for my old eyes to read. I need that.



A question: What is the relationship between k values and powers of 2? There must be some type of conversion...

Factors of Mersenne numbers must have the form 2*k*q+1, where q is the exponent.
2^67 is approximately 2*(57,781,500,622,426,160)*1277+1
So, factoring to the "67-bit level" or to "k=57,781,500,622,426,160" are equivalent statements when q=1277

[edit]
ECM testing has effectively performed trial division up to about the 200 bit level (we can be reasonably sure there are no factors smaller than 60 digits in 2^1277-1). This is equivalent to k=629184825473371290345325799663728505294519574699605652036

Last fiddled with by bsquared on 2019-09-24 at 14:00
bsquared is offline   Reply With Quote
Old 2019-09-24, 16:51   #41
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

32·7·31 Posts
Default

Quote:
Originally Posted by bsquared View Post
Factors of Mersenne numbers must have the form 2*k*q+1, where q is the exponent.
2^67 is approximately 2*(57,781,500,622,426,160)*1277+1
So, factoring to the "67-bit level" or to "k=57,781,500,622,426,160" are equivalent statements when q=1277

[edit]
ECM testing has effectively performed trial division up to about the 200 bit level (we can be reasonably sure there are no factors smaller than 60 digits in 2^1277-1). This is equivalent to k=629184825473371290345325799663728505294519574699605652036
Alright, the absolute value of 267 = 147,573,952,589,676,412,928‬ via Windows 10 Calculator. I think what I was trying to do is to not use an exponent, like 21277-1, to come up an equivalency for k as it related to 2x. A person would have to pick some exponent to make this work. I am still not sure how the bold number in the quote above is arrived at. Too tired perhaps...
storm5510 is offline   Reply With Quote
Old 2019-09-24, 17:39   #42
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

1101101110012 Posts
Default

Quote:
Originally Posted by storm5510 View Post
Alright, the absolute value of 267 = 147,573,952,589,676,412,928‬ via Windows 10 Calculator. I think what I was trying to do is to not use an exponent, like 21277-1, to come up an equivalency for k as it related to 2x. A person would have to pick some exponent to make this work. I am still not sure how the bold number in the quote above is arrived at. Too tired perhaps...
Retina stated it simply just above my post.

2^67 = 2*k*p.

p=1277

solve for (integer) k = 2^67 / (2p).

k = 57781500622426160

So that's where k comes from, for the specific example of 21277-1. You are correct that you have to use the exponent to relate the size of a factor, in bits, to k, because all factors have the form 2*k*p+1.
bsquared is offline   Reply With Quote
Old 2019-09-24, 23:16   #43
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

32×7×31 Posts
Default

Quote:
Originally Posted by bsquared View Post
Retina stated it simply just above my post.

2^67 = 2*k*p.

p=1277

solve for (integer) k = 2^67 / (2p).

k = 57781500622426160

So that's where k comes from, for the specific example of 21277-1. You are correct that you have to use the exponent to relate the size of a factor, in bits, to k, because all factors have the form 2*k*p+1.
147,573,952,589,676,412,928‬ / 2,554 = 57,781,500,622,426,160.

Now I get it. A simple rearrangement of the formula, more or less.

I will leave this alone now. Thank you all for helping my old dumb a** learn something.
storm5510 is offline   Reply With Quote
Old 2019-09-27, 01:58   #44
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

205510 Posts
Default

Is decripting-computation-cost a function of high cost of Modular-Exponentiation?

Would it be easier/easy to decrypt an RSA encrypted message if you could perform significantly faster Modular-Exponentiation than is possible now, without knowing the private key?

Thanks in advance.
a1call is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to factorize 2^1277-1 tanaydin Information & Answers 29 2018-05-14 01:09
Question: Is Our Forum Secure in Some Areas 9021951 Information & Answers 7 2011-11-02 23:29
World Cup Soccer davieddy Hobbies 111 2011-05-28 19:21
Plans for the end of the world Oddball Lounge 4 2011-04-18 04:06
Change the world! Xyzzy Lounge 5 2009-08-31 12:41

All times are UTC. The time now is 22:50.


Fri Jul 16 22:50:39 UTC 2021 up 49 days, 20:37, 1 user, load averages: 1.77, 2.58, 2.81

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.