mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2019-01-03, 00:15   #1
shubhra
 
Jan 2019

1 Posts
Default Is there a way to check a certain exponent for whether or not (2^that exponent) - 1 is a prime?

I want to check whether or not a certain exponent will lead to a prime. When I started running GIMPS, I was automatically assigned an exponent. Do you think there is a way to change the program to check for a different exponent?
shubhra is offline   Reply With Quote
Old 2019-01-03, 03:11   #2
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

2×3×773 Posts
Default

Stop Prime95 (or mprime if you are on Linux).
Edit worktodo.txt and change the exponent to the one you want to test.
Start Prime95.

2 things to consider first:
1. If someone is already testing that exponent you may get a "na" (No Assignement) error.

2. Most importantly the exponent you are testing must itself be a prime number for Prime95 to accept it.
petrw1 is offline   Reply With Quote
Old 2019-01-03, 03:20   #3
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22×1,873 Posts
Default

Check here to make sure it has no known factors: https://www.mersenne.org/report_exponent/

If the exponent is large, say above 200,000,000 expect a really long run time. Also consider doing a PRP test (better error checking) rather than an LL test.
Prime95 is offline   Reply With Quote
Old 2019-01-03, 04:11   #4
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

2×1,567 Posts
Default

For PRP test change worktodo.txt to:

PRP=1,2,exponent,-1

But check first that no one has assigned that exponent, just change <exponent> to the actual number:

https://mersenne.org/M<exponent>


If one LL test has already been done on it, and you want to double check it, do not do a PRP test, do another LL test:

Test=exponent,75,1

Last fiddled with by ATH on 2019-01-03 at 04:12
ATH is offline   Reply With Quote
Old 2019-01-03, 06:52   #5
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

225548 Posts
Default

Firstly, Welcome to GIMPS. We hope you have fun.

If you want to find a new world record prime, don't worry you are in the right place.

Note that the first number that you were assigned to check was almost certainly a double check. This helps us verify that no error overlooked a prime and checks your machine. Prime95 finds faults in machines all the time, even new ones. I had a brand new major brand computer fail testing right out of the box. I returned it for a replacement, that one passed. So, please consider letting the test run through to the end. You might get another double check on occasion to make sure your machine is still ok.

Right now all new first time checks being handed out are in the world record range. So, there is no need to make special requests.

If you are wanting to try to find the first 100 million digit prime, like George said it will take quite a while (several months). Let Prime95 check your machine with a double check first. Then set it to do the PRP test on it (hint look through the menus and settings). Also, many of the lowest numbers in the 100M digit range are assigned or have known factors. Check its status first. Also, there are ways to get an assignment like you want without doing the lookup work yourself (look at Manual assignments on the server.)

Uncwilly is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
error during Jacobi check on 330,000,000+ exponent evanh Hardware 5 2018-02-20 03:46
same exponent reassigned for triple-check S485122 PrimeNet 8 2009-08-16 23:16
Fun with the new Mersenne prime exponent ewmayer Lounge 4 2006-09-06 20:57
Mersenne composites (with prime exponent) Dougy Math 4 2005-03-11 12:14
suggestion: "check exponent status" page ixfd64 Lounge 3 2004-05-27 00:51

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

Sat May 15 22:42:29 UTC 2021 up 37 days, 17:23, 0 users, load averages: 2.04, 2.39, 2.31

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.