mersenneforum.org  

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

Reply
 
Thread Tools
Old 2018-09-26, 05:42   #67
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3×457 Posts
Default

Quote:
Originally Posted by preda View Post
for p == 1583 423452 213582 178911 805893 942695 192421,
I imagine z(p) does not divide 1620,
yet p divides 2^1620 - 1
I take that back. For that p,
znorder(Mod(2, p)) == 1620

So, using z(p) = znorder(Mod(2, p)),

I think that: p | (2^k - 1) IFF z(p) | k.

Then my question is answered like this: any prime p with z(p) > N does not divide 2^k - 1 for any k in [0..N]. So we translated the question into the distribution of z(p).

Last fiddled with by preda on 2018-09-26 at 05:55
preda is offline   Reply With Quote
Old 2018-09-26, 06:12   #68
axn
 
axn's Avatar
 
Jun 2003

5,051 Posts
Default

Quote:
Originally Posted by preda View Post
I think that: p | (2^k - 1) IFF z(p) | k.
Yep, because that is the very definition of "order".

For your other question, you are looking for the smallest prime p > N+1 with order (p-1). And you should find one within a few tries.
axn is online now   Reply With Quote
Old 2018-10-08, 20:49   #69
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3×457 Posts
Default Ratio of maximal order primes == Golomb-Dickman constant?

For a prime p, let's call z(p) the "multiplicative order of 2 modulo p" (AKA znorder(Mod(2,p)) in pari-gp).

Experimentally, it seems that the ratio of primes that produce "non-maximal order" (i.e. z(p) < p-1) gravitates towards the Golomb-Dickman constant, http://mathworld.wolfram.com/Golomb-...nConstant.html . Is that so, or just a coincidence?

(z(p)<p-1 means z(p)<=(p-1)/2)

Last fiddled with by preda on 2018-10-08 at 20:53
preda is offline   Reply With Quote
Old 2018-10-23, 20:58   #70
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3·457 Posts
Default

Some information about the implementation in GpuOwl can be found in the GpuOwl thread:
https://mersenneforum.org/showthread...607#post498607
preda is offline   Reply With Quote
Old 2020-01-01, 03:13   #71
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

137110 Posts
Default

Quote:
Originally Posted by preda View Post
For a prime p, let's call z(p) the "multiplicative order of 2 modulo p" (AKA znorder(Mod(2,p)) in pari-gp).

Experimentally, it seems that the ratio of primes that produce "non-maximal order" (i.e. z(p) < p-1) gravitates towards the Golomb-Dickman constant, http://mathworld.wolfram.com/Golomb-...nConstant.html . Is that so, or just a coincidence?

(z(p)<p-1 means z(p)<=(p-1)/2)
it seems that the ratio of primes for which 2 is a primitive root is given by Artin's constant http://mathworld.wolfram.com/ArtinsConstant.html

interesting that Artin's constant is very close to (1 - Golomb-Dickman constant)
preda is offline   Reply With Quote
Old 2020-01-01, 04:03   #72
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

110438 Posts
Default

Quote:
Originally Posted by preda View Post
it seems that the ratio of primes for which 2 is a primitive root is given by Artin's constant http://mathworld.wolfram.com/ArtinsConstant.html

interesting that Artin's constant is very close to (1 - Golomb-Dickman constant)
Coincidentally, I recently compiled some related empirical data, which I posted here.
Dr Sardonicus is offline   Reply With Quote
Reply

Thread Tools


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


Fri Jul 16 18:00:37 UTC 2021 up 49 days, 15:47, 1 user, load averages: 1.22, 1.34, 1.42

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.