mersenneforum.org  

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

Reply
 
Thread Tools
Old 2018-09-08, 03:03   #12
GP2
 
GP2's Avatar
 
Sep 2003

258510 Posts
Default

Quote:
Originally Posted by preda View Post
An interesting question, I'd like to know the answer as well.
I did some googling.

Gillies, discoverer of M21, M22 and M23, made a conjecture about the expected number of prime factors of a Mersenne number. (Wikipedia article)

As Wagstaff (1984) mentions, if we put the values A = 2p (smallest possible factor is 2kp + 1 for k = 1) and B = sqrt (Mp) into Gillies' heuristic formula, then we get the result that the number of prime factors is a Poisson distribution with mean λ = log ( log (2p/2) / log 2p ).= log ( ( p/2 * log 2 ) / log 2p ) = log( p log 2 / 2 log 2p )

And since the probability of 0 events in a Poisson distribution is e−λ, Gillies derived the probability that Mp is a Mersenne prime is 2 log 2p / p log 2.

The only trouble is that Gillies' conjecture is wrong. A better prediction of the probability that Mp is prime is given by the Lenstra–Pomerance–Wagstaff conjecture: egamma log ap / p log 2, where a = 2 if p = 3 mod 4 and a = 6 if p = 1 mod 4, and where gamma is the Euler–Mascheroni constant ≈ 0.577215665.

If we apply the LPW conjecture correction to the Gillies heuristic for the number of prime factors, then I think we get the result that:

The number of prime factors of Mp is Poisson distributed, with mean λ = log ( p log 2 / egamma log ap ), where a and gamma are defined as above.

Whereas by the Erdős–Kac theorem, an ordinary number of size 2p would be expected to have log(log (2p)) factors, or log (p log 2).

Maybe someone can double-check the math...

I get the following numbers:

Code:
    p        no. of factors of    no. of factors of       no. of factors of
              ordinary number    Mp with p = 3 mod 4      Mp with p = 1 mod 4

     10 000      8.84                     5.97                    5.87
    100 000     11.15                     8.07                    7.98
  1 000 000     13.45                    10.20                   10.12
 10 000 000     15.75                    12.35                   12.29
100 000 000     18.05                    14.53                   14.47

Last fiddled with by GP2 on 2018-09-08 at 03:06
GP2 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distribution of Mersenne Factors tapion64 Miscellaneous Math 21 2014-04-18 21:02
Known factors distribution graphs James Heinrich Data 21 2013-09-26 19:54
strange factors distribution?? pegaso56 Information & Answers 19 2009-06-29 15:04
Distribution of Mersenne prime factors mod 6 alpertron Math 0 2006-06-23 20:07
Silverman & Wagstaff on Joint Distribution of Ultimate and Penultimate Prime Factors wblipp Math 12 2006-04-02 18:40

All times are UTC. The time now is 18:44.


Fri Jul 16 18:44:15 UTC 2021 up 49 days, 16:31, 1 user, load averages: 5.52, 5.42, 4.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.