mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Math (https://www.mersenneforum.org/forumdisplay.php?f=8)
-   -   Conjectured Primality Test for 2^p-1, (2^p+1)/3 and (2^2^n+1) (https://www.mersenneforum.org/showthread.php?t=5935)

AntonVrba 2006-05-31 19:50

[QUOTE=T.Rex]How did you find this starting value (M-10)/3 ???
Tony[/QUOTE]
see post 44 - just by looking at the DiGraphs at specific common points

S(0) = (M-10)/3 that is (2^p+1)/3-4 is the common number in the DiGraphs of length (p-1) for Mersenne numbers.

[QUOTE=T.Rex]
About the S(0)=(9+1/9) I proposed, with: S(i+1)=S(i)^2-2 (mod M_q) as usual, there is a proof saying: if M_q is prime then S(q-1)=S(0) .
Do you have such a proof ?
Tony[/QUOTE]
No

Robot2357 2006-06-02 04:04

[QUOTE=AntonVrba]
[B]Conjecture:[/B]
let p be a prime integer,
S(0) = 2^(p-1)-1 and
S(i) = S(i-1)^2-2 (mod (2^p+1)/3) ;

If S(p)== S(1) then (2^p+1)/3 is prime.
[/QUOTE]

Hello,
i've found this result,and a little generalization,a few years ago.i'm not a mathematician ,so i've proved only the necessary part(the sufficient part is too difficult for me).i've thought that was already know,and so i did make only a few effort on the subject.if i'll find my old hard drive i'll post the result if you are interested.

AntonVrba 2006-06-02 08:28

[QUOTE=Robot2357]Hello,
i've found this result,and a little generalization,a few years ago.i'm not a mathematician ,so i've proved only the necessary part(the sufficient part is too difficult for me).i've thought that was already know,and so i did make only a few effort on the subject.if i'll find my old hard drive i'll post the result if you are interested.[/QUOTE]
Very much interested please post

best regards
Anton

T.Rex 2007-03-24 22:06

[QUOTE=AntonVrba;81278]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.[/QUOTE]Remember: M=2^p-1.
Let T(p,n) = 3^n + 1/3^n mod(M) .
Amongst the many possible values of n such that T(p,n) = S(0) , I've found that n=2^(p-1) could work for all p (such that M is prime).
I've checked it for p=5,7,13,17,19 . (I do not remember how to write a PARI program faster than: p=31; M=2^p-1; S0=(-10/3)%M; p2=2^(p-1); T=Mod(3^p2+1/3^p2, M) .)
That also works for: n=2^(p-1)-2 .

As an example. For p=13, the smallest n are: 454 and 456. And 455=5*7*13 (Note that: 2^(p-1) - 1=4095=3^2 * 5 * 7 * 13 =9 * 455) .

Tony

T.Rex 2007-05-29 20:31

LLT-like for Wagstaff numbers: Anton's conjecture
 
Here are some news about this Anton's conjecture:
[QUOTE=AntonVrba;81270]
Wagstaff:
refer [URL="http://mersenneforum.org/showthread.php?t=5910"]Conjectured primality test for (2^p+1)/3[/URL]

[COLOR="purple"][B]Conjecture:[/B]
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) .[/COLOR][/QUOTE]
First, Anton tested this up to 5807 . Using PARI+GMP, I've tested up to 24971. Still checking.

Second, The seed 1/4 works also, as 3/2 from Anton.

Third, the problem of the test is the modular operation.
I do not know why, but this test also works (tested up to 5000) where the modulo is done with 2^p+1 instead of (2^p+1)/3 :

[COLOR="purple"][B]Conjecture:[/B]
Let p be a prime integer > 3 , and N = 2^p+1 and W = N/3 .

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

W is prime iff S(p-1) == S(0) (mod W) .[/COLOR]

Fourth, Renaud Lifchitz already worked on these numbers, providing a "[URL="http://ourworld.compuserve.com/homepages/hlifchitz/Documents/TestNP.zip"]probable prime test[/URL]", with a modified version of prime95.

Tony

T.Rex 2007-05-30 20:16

Universal seed for tree or cycle
 
The following LLT-like test for Mersenne numbers Mq shows that the same seed (1/2) starts a root of the tree or a node in a cycle depending on q mod 4 .
Checked up to q=9973 .

[COLOR="purple"][B]Conjecture:[/B]

Let p be a prime integer > 2 , and M = 2^q-1 .

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

if M = 1 (mod 4) then: M is prime iff S(p-1) == S(0) (mod W) { Cycle }
if M = 3 (mod 4) then: M is prime iff S(p-2) == 0 (mod W) { Tree }
[/COLOR]
Tony

m_f_h 2007-05-31 12:45

[quote=T.Rex;107272][COLOR=purple][B]Conjecture:[/B]
Let p be a prime integer > 3 , and N = 2^p+1 and W = N/3 .

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

W is prime iff S(p-1) == S(0) (mod W) .[/COLOR][/quote]
Do you really mean (mod W) in the last line ?
Then it seems trivial to me that the two are equivalent.

T.Rex 2007-05-31 13:38

[QUOTE=m_f_h;107392]Do you really mean (mod W) in the last line ?
Then it seems trivial to me that the two are equivalent.[/QUOTE]Yes, W in last line and N in the main loop. It is a part of modulus I do not master. Please explain.
T.

m_f_h 2007-05-31 16:54

[quote=T.Rex;107397]Yes, W in last line and N in the main loop. It is a part of modulus I do not master. Please explain.
T.[/quote]
You have x + k W = x + (k\3) N + (k % 3) W
or
(x % N ) % W = x % W = (x % W) % W
or
doing % N removes multiples of 3W, in the end you remove (all remaining) multiples of W

T.Rex 2007-05-31 21:18

A beginning of proof ...
 
Hi,
Does anyone have any idea for completing my proof of my conjecture of the LLT-like test for Mersenne described at: [URL="http://tony.reix.free.fr/Mersenne/ConjectureLLTCyclesMersenne.pdf"]http://tony.reix.free.fr/Mersenne/ConjectureLLTCyclesMersenne.pdf[/URL] ?
Or do you know someone who is an expert in Lucas Sequences and their properties ?

Thanks,
Regards,
Tony

T.Rex 2007-05-31 21:24

LLT-like for Wagstaff numbers: Anton's conjecture
 
[QUOTE=T.Rex;107272]
[COLOR="purple"][B]Conjecture:[/B]
Let p be a prime integer > 3 , and N = 2^p+1 and W = N/3 .
S(0) = 3/2 (or 1/4) and S(i+1) = S(i)^2 - 2 (mod N) ;
W is prime iff S(p-1) == S(0) (mod W) .[/COLOR][/QUOTE]I have studied (by program ...) the Digraph produced undex x^2-2 modulo a Wagstaff prime.
The conclusion is that there is no tree, like with Mersenne numbers, which could be used for building a LLT test S(p-2) == 0 (mod W).
There is no tree at all. Only Cycles.
Only a LLT test using a cycle S(p-1) == S(0) (mod W) seems possible.
The cycles seem to follow rules, but they are more complex than with Mersenne or Fermat numbers ...

Regards,
Tony


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

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