mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2005-02-28, 19:06   #1
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23·149 Posts
Default M2 not prime?

I'm not sure if this is a math or software question, but according to Prime95 M2 is not prime

You can't do Advanced | Test for M < 5, but you can throw this into worktodo.ini:
Quote:
AdvancedTest=2
and it'll come back with something like this:
Quote:
M2 is not prime. Res64: 5555555555555555. WZ1: AAAEAAAF,1,00000000
Is that a bug or am I wrong that M2 is prime? M3 onwards works fine:
Quote:
M3 is prime! WZ1: 00060006,00000000
James Heinrich is offline   Reply With Quote
Old 2005-02-28, 19:11   #2
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

19·613 Posts
Default

M2 = 2^2 - 1, more commonly known as the number 3. I'll let you figure out whether it's prime or not.

(Hint: most programs like Prime95 are heavily optimized for *large* numbers.)
ewmayer is online now   Reply With Quote
Old 2005-02-28, 19:16   #3
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23×149 Posts
Default

Yes, exactly.
I'm sure we can agree that Prime95 isn't required to determine if 3 (M2) or 7 (M3) is prime, but it shouldn't say that M2 is not prime when it is...
James Heinrich is offline   Reply With Quote
Old 2005-02-28, 20:31   #4
Bundu
 
Bundu's Avatar
 
Jul 2004
Mid Calder, Scotland

18510 Posts
Default

I'm sad because I took the time to look at this......lol

Bundu is offline   Reply With Quote
Old 2005-02-28, 22:57   #5
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

19·613 Posts
Default

Quote:
Originally Posted by James Heinrich
I'm sure we can agree that Prime95 isn't required to determine if 3 (M2) or 7 (M3) is prime, but it shouldn't say that M2 is not prime when it is...
True. From your description, it sounds like George simply forgot to invoke a minimum-exponent-size check when the Advanced menu is accessed from the worktodo.ini file (as opposed to the pulldown menu on the GUI.)
ewmayer is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
(M48) NEW MERSENNE PRIME! LARGEST PRIME NUMBER DISCOVERED! dabaichi News 571 2020-10-26 11:02
Twin Prime Days, Prime Day Clusters cuBerBruce Puzzles 3 2014-12-01 18:15
disk died, prime work lost forever? where to put prime? on SSD or HDD? emily PrimeNet 3 2013-03-01 05:49
Prime Cullen Prime, Rest in Peace hhh Prime Cullen Prime 4 2007-09-21 16:34
The 40th known Mersenne prime, 220996011-1 is not PRIME! illman-q Miscellaneous Math 33 2004-09-19 05:02

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


Fri Aug 6 22:07:04 UTC 2021 up 14 days, 16:36, 1 user, load averages: 3.18, 3.05, 2.82

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.