20200626, 04:10  #1 
Dec 2019
15_{10} Posts 
Reserving Cleared Mersenne Number
Hello,
I would like to reserve a previously cleared Mersenne Prime (82589933 to be exact) and run Prime95/CUDALucas with it, but not report it. The reason I want to do this is to test a new method/program I am using on particular hardware in comparison to Prime95/CUDALucas's speeds on that same hardware. P.S. I realize I probably am not going to beat either of Mersenne's programs, but I am curious to see how close I can get. 
20200626, 05:18  #3 
Dec 2019
3·5 Posts 
*How do I run Prime95/CUDALucas with this Mersenne number?

20200626, 06:59  #4 
Jul 2018
Martin, Slovakia
2^{2}·3·7 Posts 
You can go to Advanced > Test and put in the exponent. That is if you have clear worktodo.txt for Prime95 because I think it puts it on the end of the waiting list. If it does, open worktodo.txt in the folder of Prime95 and copy this line to the first row: "Test=82589933".
If I am wrong, and the Test option immediately starts the requested test, then you don't have to worry about the worktodo.txt. CUDALucas has the same format for worktodo.txt, IIRC. 
20200626, 14:04  #5  
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
3^{2}×937 Posts 
Quote:
If mprime or Prime95 is running, stop it (exiting it is best practice). Then open up worktodo.txt and the the line Test=N/A,82589933,75,1 The N/A tells it and PrimeNet that you are not trying to register it as an assignment. Since it is a known prime, all of the DC work has been done. We don't have to wrry about stepping on anyone's toes. The ,75,1 tells Prime95 how much trial factoring has been done (and it won't try to do anymore. Save worktodo.txt and restart Prime95. Last fiddled with by Uncwilly on 20200626 at 14:05 

20200626, 21:17  #6 
Dec 2019
3×5 Posts 
Thanks, Villiam and Uncwilly!
I decided to do the smaller exponent 756839 because my program/method is way too slow . If anyone was curious here were the results: Specs: Intel Xeon @ 2.20GHz, 1 core, 2 threads, 64bit. Prime95: ~2 minutes 15 seconds. My program: ~2 hours 7 minutes. 
20200626, 21:25  #7 
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
10000011110001_{2} Posts 
Try a few scattered nonprimes to make sure you get matching residues.
Last fiddled with by Uncwilly on 20200626 at 21:26 
20200626, 22:53  #8 
Dec 2019
3×5 Posts 
Oh, good idea. My program is not that complex and doesn't use residues (I would love to optimize this program perhaps one day to do so), but I will try out different nonprimes as suggested!

20200627, 00:08  #9 
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
3^{2}·937 Posts 
If it is or is not prime, if you are using LL, you wind up with a result at the end step.
If it is prime, it is zero. If not, you have a nonzero residue. By comparing 2 runs, that is how we know that the testing produced good results. Someone can tell you how to convert it to the hex format that is used (if you are using decimal). 
20200627, 00:45  #10  
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
4,243 Posts 
Quote:
See https://www.mersenneforum.org/showthread.php?t=24003 which contains tables of selected iteration counts and exponents, for LL and PRP3, to which to compare them. How does run time scale with exponent in your program? The fastest programs use Crandall & Fagin's irrationalbase discrete weighted transform and take not much more than proportional to exponent squared. Ordinary long multiplication for squaring will take proportional to exponent cubed; much longer. Gpuowl run time scaling for PRP3: https://www.mersenneforum.org/showpo...6&postcount=10 Prime95 run time scaling for PRP3, low p: https://www.mersenneforum.org/showpo...78&postcount=2 CUDALucas run time scaling for LL: https://www.mersenneforum.org/showpo...23&postcount=2 Last fiddled with by kriesel on 20200627 at 01:17 

20200627, 21:11  #11  
Dec 2019
3×5 Posts 
Quote:
Thank you for the resources Kriesel! Moving forward, I will use all those residues on any new updates to my progress  thanks so much for compiling that also! 

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
A Mersenne number exercise  lukerichards  Number Theory Discussion Group  12  20180122 16:45 
Number of distinct prime factors of a Double Mersenne number  aketilander  Operazione Doppi Mersennes  1  20121109 21:16 
Number of Factors for a Mersenne Number  kurtulmehtap  Math  12  20100503 14:02 
Can i see every Number ive cleared since my team was created?  crash893  Data  12  20060107 17:33 
conjucture in mersenne number  bouayoun  Miscellaneous Math  12  20041128 21:34 