mersenneforum.org  

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

Reply
 
Thread Tools
Old 2006-05-26, 20:08   #34
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

39416 Posts
Default Conjectured primality test for Fermat numbers

Hello,

One more conjecture. Again based on Shallit&Vasiga paper, and checked up to n=16.
The DiGraph under x^2-2 modulo a Fermat prime is made of a Tree and of Cycles of length dividing 2^n-1.

Conjecture:
Let n be an integer and F = 2^2^n+1 .

S(0) = (F-3)/2 and
S(i+1) = S(i)^2 - 2 (mod F) ;

F is prime iff S(2^n-1) == S(0) (mod F).


Tony
T.Rex is offline   Reply With Quote
Old 2006-05-27, 09:28   #35
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

11100101002 Posts
Default

The number of Cycles for n=2,3,4 are:
Code:
n    2^n-1     L      #Cycles
-----------------------------
2      3       3       1
3      7       7       9
4     15       3       1
               5       3
              15    1091
...
34   3.43691.131071
About F4, under llt2(x)=x^3-3x, 2 of the 3 Cycles of Length 5 are connected to the third, which is connected to itself. That means that 2 starting values are required for going through the 3 Cycles of Length 5, thus doing the 3*5 required iterations.

F34 is the first Fermat number we do not know if it is prime or not. Under x^2-2, there are probably Cycles of length 3, 43691, 131071, 3*43691, 3*131071, 43691*131071, and 2^34-1.

With the same kind of hypothesis than the ones I've used for the "idea" I've explained in a previous thread about Mersenne numbers, one could imagine to run the llt (x^2-2) on several Cycles smaller than the big one (L=2^34-1), jumping from one Cycle to another by means of llt2 (x^3-3*x). If one Cycle does not exist, then it would mean F34 is not prime. Once proved (!) ... this test would be faster than Pépin's test for proving a Fermat number is composite.
But this requires to build several properties before ... Shallit&Vasiga's paper say nothing about a formula for building numbers belonging to Cycles of the DiGrapht under x^2-2 modulo a Fermat prime.

Since the same kind of Conjecture appears for Mersenne, Fermat, and Wagstaff numbers, I think it is worth Number Theory experts look at this and see if the work of Shallit&Vasiga can be extended.

Your opinion ?

Tony
T.Rex is offline   Reply With Quote
Old 2006-05-27, 09:42   #36
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

22×229 Posts
Default

About the 4 Lengths we have the number of Cycles:
Code:
 L    #Cycles
-----------
 3       1
 5       3
 7       9
15    1091
these values are exactly half of those of the A001037 sequence, which represents the number N of cycles of length L in a digraph under x^2 seen modulo a Mersenne prime M_q=2^q-1.
I guess it is related to: A000048.

Who can provide a proof ?

Rony
T.Rex is offline   Reply With Quote
Old 2006-05-27, 17:50   #37
philmoore
 
philmoore's Avatar
 
"Phil"
Sep 2002
Tracktown, U.S.A.

45F16 Posts
Default

Quote:
Originally Posted by T.Rex
F34 is the first Fermat number we do not know if it is prime or not.
Actually, F33:
http://www.prothsearch.net/fermat.html
philmoore is offline   Reply With Quote
Old 2006-05-27, 18:25   #38
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

22·229 Posts
Default

Quote:
Originally Posted by philmoore
Actually, F33:
OoopS. Sorry. Too much red wine at lunch ! Always check ! Don't rely on your memory.
Factors of 2^33-1 : 7*23*89*599479 . Less interesting than F34 !

Thanks Phil !
Tony
T.Rex is offline   Reply With Quote
Old 2006-05-28, 09:59   #39
AntonVrba
 
AntonVrba's Avatar
 
Jun 2005

11000102 Posts
Default Conjectured Primality Test for 2^p-1, (2^p+1)/3 and (2^2^n+1)

We have three threads, lets put them together for a common primality test for Mersenne, Wagstaff and Fermat numbers.

Mersenne:
refer Another (candidate) test of primality of Mersenne number
But the conjecture can be simplified to:

Conjecture:
Let p be a prime integer and M = (2^p-1).

S(0) = (M-10)/3 and
S(i+1) = S(i)^2 - 2 (mod M) ;

M is prime iff S(p-1) == S(0) .


Wagstaff:
refer Conjectured primality test for (2^p+1)/3

Conjecture:
Let p be a prime integer and W = (2^p+1)/3 .

S(0) = (W+3)/2 and
S(i+1) = S(i)^2 - 2 (mod W) ;

W is prime iff S(p-1) == S(0) .


Fermat:
refer Conjectured primality test for Fermat numbers

Conjecture:
Let n be an integer and F = 2^2^n+1 .

S(0) = (F-3)/2 and
S(i+1) = S(i)^2 - 2 (mod F) ;

F is prime iff S(2^n-1) == S(0) (mod F).


The similarities are striking - should not be ignored

Quote:
Originally Posted by T.Rex
Since the same kind of Conjecture appears for Mersenne, Fermat, and Wagstaff numbers, I think it is worth Number Theory experts look at this and see if the work of Shallit&Vasiga can be extended.

Your opinion ?

Tony
I fully agree.
AntonVrba is offline   Reply With Quote
Old 2006-05-28, 10:17   #40
AntonVrba
 
AntonVrba's Avatar
 
Jun 2005

11000102 Posts
Default

Lets continue under a common thread
Conjectured Primality Test for 2^p-1, (2^p+1)/3 and (2^2^n+1)
AntonVrba is offline   Reply With Quote
Old 2006-05-28, 10:44   #41
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

91610 Posts
Default

Quote:
Originally Posted by AntonVrba
Lets continue under a common thread ...
Good idea !
Tony
T.Rex is offline   Reply With Quote
Old 2006-05-28, 10:45   #42
AntonVrba
 
AntonVrba's Avatar
 
Jun 2005

2·72 Posts
Default

Oh if you were wondering about

S(0) = (M-10)/3 that is (2^p+1)/3-4

The common number in the DiGraphs of length (p-1) for Mersenne numbers.
AntonVrba is offline   Reply With Quote
Old 2006-05-28, 10:50   #43
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

22·229 Posts
Default

With: W(q) = (2^q+1)/3 , S(0) = (W(q)+3)/2 .
Since S(1) = S(0)^2-2 ~= W(q-2) (mod W(q)), you could also use: S(0) = W(q-2) = (2^(q-2)+1)/3 as a starting value (seed).
Not really useful, buf funny.
T.
T.Rex is offline   Reply With Quote
Old 2006-05-30, 06:20   #44
AntonVrba
 
AntonVrba's Avatar
 
Jun 2005

2×72 Posts
Default Yet another conjecture to Test Mersenne and Wagstaff Primes

Conjecture:
Let p be a prime integer and
Q = (2^p-1) or Q=(2^p+1)/3

Let x=(Q-1)/p and y be an odd integer

y^x = r (mod Q)

if r is odd then r=Q-r

Q is prime iff r==2^z , z a integer
.

I have found no exceptions

Last fiddled with by AntonVrba on 2006-05-30 at 06:44
AntonVrba is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying the Lucas Lehmer Primality Test into a fast test of nothing Trilo Miscellaneous Math 25 2018-03-11 23:20
Conjectured Primality Test for Specific Class of Mersenne Numbers primus Miscellaneous Math 1 2014-10-12 09:25
Conjectured Primality Test for Specific Class of k6^n-1 primus Computer Science & Computational Number Theory 16 2014-08-15 01:15
there is another way to test the primality of a no shawn Miscellaneous Math 5 2007-07-17 17:55
A primality test for Fermat numbers faster than Pépin's test ? T.Rex Math 0 2004-10-26 21:37

All times are UTC. The time now is 17:35.


Mon Aug 2 17:35:00 UTC 2021 up 10 days, 12:03, 0 users, load averages: 4.82, 3.49, 2.78

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.