mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   M2 not prime? (https://www.mersenneforum.org/showthread.php?t=3769)

James Heinrich 2005-02-28 19:06

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

You can't do [i]Advanced | Test[/i] for M < 5, but you can throw this into [i]worktodo.ini:[/i][quote]AdvancedTest=2[/quote]and it'll come back with something like this:[quote]M2 is not prime. Res64: 5555555555555555. WZ1: AAAEAAAF,1,00000000[/quote]Is that a bug or am I wrong that M2 is prime? M3 onwards works fine:[quote]M3 is prime! WZ1: 00060006,00000000[/quote]

ewmayer 2005-02-28 19:11

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.)

James Heinrich 2005-02-28 19:16

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 [b]not[/b] prime when it is...

Bundu 2005-02-28 20:31

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

:no:

ewmayer 2005-02-28 22:57

[QUOTE=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 [b]not[/b] prime when it is...[/QUOTE]

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.)


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

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