mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-02-05, 21:06   #12
Mastan
 
Feb 2013

716 Posts
Default

Yes, Aketilander ,Thanks...
Mastan is offline   Reply With Quote
Old 2013-02-05, 21:11   #13
Mastan
 
Feb 2013

7 Posts
Default

Sorry , My question may be misunderstood for someone , my question in tcl scripting clearly is

set x 3
while { $x > 0} {
set x [expr POWER(2,$x) -1]
puts "$x is a prime number ? "
}
Mastan is offline   Reply With Quote
Old 2013-02-05, 21:20   #14
Mastan
 
Feb 2013

716 Posts
Default

Hi Aketilander,

Double mersenne number is only 2 levels of POWER of 2.
I am thinking for more than 2 (may be infinite levels) , it is always a prime number
MMp : Double mersenne number...
MMMMM...p is always a prime number ?


Regards,
Mastan
Mastan is offline   Reply With Quote
Old 2013-02-05, 21:49   #15
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

Quote:
Originally Posted by Mastan View Post
Sorry , My question may be misunderstood for someone , my question in tcl scripting clearly is

set x 3
while { $x > 0} {
set x [expr POWER(2,$x) -1]
puts "$x is a prime number ? "
}
No. 11 is prime, but 2^11-1 is not prime (=23*89, and yes I did have those factors memorized).

Quote:
Originally Posted by Wikipedia/Mersenne prime
Though it was believed by early mathematicians that Mp is prime for all primes p, Mp is very rarely prime. In fact, of the 1,622,441 prime numbers p up to 25,964,951,[5] Mp is prime for only 42 of them. The smallest counterexample is the Mersenne number
M11 = 211 − 1 = 2047 = 23 × 89.
Looking at your Tcl, it looks like you are asking the following, much more specific question(s):
2^2-1 = M2 = 3 is prime.
2^3-1 = M3 = MM2 = 7 is prime.
2^7-1 = M7 = MMM2 = 127 is prime.
2^127-1 = M127 = MMMM2 is prime.

Is MM127 = MMMMM2 a prime?
For a natural number n and prime p, define M(p, n) = the nth iterated Mersenne number starting with p, such that M(p, 3) = MMMp.
Is M(2, n) prime for all n >= 1?

There is (as yet) no reason to believe that these numbers have a better chance to be prime than a "random" Mersenne number with a prime exponent. Since Mersenne primes are so few and far between, it is conjectured that MM127 (and M(2, n) for "almost all" n >4) are composite. With our current knowledge of mathematics and computational power though, we have no way to prove it one way or the other. aketilander is looking for a factor of MM127, which would undoubtedly prove its compositeness.

There has been much discussion of these questions -- try Googling "double mersenne numbers" or "iterated mersenne numbers".

Quote:
Originally Posted by science_man_88 View Post
2^p-1 iff p is prime, however the reverse p is prime iff 2^p-1 is prime is false, first counter example is 2^11-1 =23*89.
Watch your 'f's there. You're saying contradictory things if those double 'f's are to be interpreted "properly".

Last fiddled with by Dubslow on 2013-02-05 at 21:56
Dubslow is offline   Reply With Quote
Old 2013-02-05, 22:01   #16
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

165678 Posts
Default

Quote:
Originally Posted by Mastan View Post
I am thinking for more than 2 (may be infinite levels) , it is always a prime number
You may think it, and we cannot disprove it, but there is little reason to believe it is true. In fact it is overwhelmingly believed by math experts to be false.
Prime95 is offline   Reply With Quote
Old 2013-02-05, 22:08   #17
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

224318 Posts
Default

Quote:
Originally Posted by Mastan View Post
I am thinking for more than 2 (may be infinite levels) , it is always a prime number
MMp : Double mersenne number...
MMMMM...p is always a prime number ?
It will take one factor to destroy this chain (proving MM127 composite and all of the rest of the chain), and this factor will in a few years be found (most experts agree).
Batalov is offline   Reply With Quote
Old 2013-02-05, 22:12   #18
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by Dubslow View Post
No. 11 is prime, but 2^11-1 is not prime (=23*89, and yes I did have those factors memorized).



Looking at your Tcl, it looks like you are asking the following, much more specific question(s):
2^2-1 = M2 = 3 is prime.
2^3-1 = M3 = MM2 = 7 is prime.
2^7-1 = M7 = MMM2 = 127 is prime.
2^127-1 = M127 = MMMM2 is prime.

Is MM127 = MMMMM2 a prime?
For a natural number n and prime p, define M(p, n) = the nth iterated Mersenne number starting with p, such that M(p, 3) = MMMp.
Is M(2, n) prime for all n >= 1?

There is (as yet) no reason to believe that these numbers have a better chance to be prime than a "random" Mersenne number with a prime exponent. Since Mersenne primes are so few and far between, it is conjectured that MM127 (and M(2, n) for "almost all" n >4) are composite. With our current knowledge of mathematics and computational power though, we have no way to prove it one way or the other. aketilander is looking for a factor of MM127, which would undoubtedly prove its compositeness.

There has been much discussion of these questions -- try Googling "double mersenne numbers" or "iterated mersenne numbers".



Watch your 'f's there. You're saying contradictory things if those double 'f's are to be interpreted "properly".
I did I think you need to reread.
science_man_88 is offline   Reply With Quote
Old 2013-02-05, 22:20   #19
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

1D2416 Posts
Default

Quote:
Originally Posted by Mastan View Post
Ok, Thanks what about this .


2 ^ 2 ^127 -1 which is more clearly POWER(2,(POWER(2,127)) -1
Huh?? It's the difference of two squares! (x^2-y^2) = (x-y)(x+y)..........
R.D. Silverman is offline   Reply With Quote
Old 2013-02-05, 22:40   #20
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19·397 Posts
Default

Quote:
Originally Posted by Batalov View Post
It will take one factor to destroy this chain (proving MM127 composite and all of the rest of the chain)
True.

Quote:
and this factor will in a few years be found (most experts agree).
False.
Prime95 is offline   Reply With Quote
Old 2013-02-05, 22:45   #21
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

19·613 Posts
Default

Hey, George, I'll bet you never contemplated using Tcl or Python to implement your LL software, you dinosaur. No wonder it took so long to find the latest M-prime! Sheesh...
ewmayer is online now   Reply With Quote
Old 2013-02-05, 22:47   #22
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

9,497 Posts
Default

I used 'a few' very, very generously.
I agree that it could be ...erhhhm... a while! (Found a better meaningless term! :-)
Batalov is offline   Reply With Quote
Reply

Thread Tools


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
Number of distinct prime factors of a Double Mersenne number aketilander Operazione Doppi Mersennes 1 2012-11-09 21:16
Estimating the number of prime factors a number has henryzz Math 7 2012-05-23 01:13
New prime number? inthevoid2 Information & Answers 3 2008-09-29 23:27
When do I know if the number is prime? uniqueidlondon Software 1 2003-05-17 16:57

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


Fri Aug 6 22:41:36 UTC 2021 up 14 days, 17:10, 1 user, load averages: 4.12, 4.00, 3.65

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.