mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2021-03-14, 14:25   #111
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

72648 Posts
Default

Quote:
Originally Posted by PAT291 View Post
what if it is only true for prime Mp for base 3, and never when Mn is not a prime? wasn't it the question at the beginning of the topic? amazing 6, or 3?
No, it was not the question at the beginning of the topic.

With only 51 known Mersenne prime < ~25 million digits and your condition being neccesary, we will probably never know of a contradiction in our lifetimes. Many people have looked in to this problem have not been able to produce a proof of it. It is an open question. Who knows? Infinity is big, really big.

Quote:
Infinite: Bigger than the biggest thing ever and then some.
Much bigger than that in fact, really amazingly immense, a
totally stunning size, "wow, that's big", time. Infinity is just so
big that by comparison, bigness itself looks really titchy.
Gigantic multiplied by colossal multiplied by staggeringly
huge is the sort of concept we're trying to get across here.

Last fiddled with by paulunderwood on 2021-03-14 at 14:33
paulunderwood is offline   Reply With Quote
Old 2021-03-14, 15:18   #112
PAT291
 
Feb 2017
Belgium

3×7 Posts
Default

So if somebody can proof that “if (3^(Mn-1)/2 + 1)==0 (mod Mn) then Mn is prime”, it would be a kind of breakthrough J

It would be another primality test
PAT291 is offline   Reply With Quote
Old 2021-03-14, 16:37   #113
PAT291
 
Feb 2017
Belgium

3×7 Posts
Default

Quote:
Originally Posted by PAT291 View Post
So if somebody can proof that “if (3^(Mn-1)/2 + 1)==0 (mod Mn) then Mn is prime”, it would be a kind of breakthrough J

It would be another primality test
correction: it would be a primality test for Mersenne numbers
PAT291 is offline   Reply With Quote
Old 2021-03-14, 21:13   #114
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

124216 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
<snip>
With only 51 known Mersenne prime < ~25 million digits and your condition being neccesary, we will probably never know of a contradiction in our lifetimes.
<snip>
I doubt a composite Mp which is a a strong base-3 PRP will be found any time soon.

But it is possible AFAIK that there could be a composite Mp with p < 1000000 or even p < 100000 which provides a counterexample. The reason I say this is that I'm sure the condition

Mod(3,Mp)^((Mp-1)/2) == Mod(-1, Mp)

was never tested on many such Mp, because they were proved composite by virtue of a proper factor being found. Of course, if q divides Mp and q == 5 (mod 6) the condition is guaranteed to fail, so no need to test.

I have no idea for how many p the above condition has actually been checked. IIRC I checked that it excluded all Mp except the known primes for p < 5000, and may have run it up a bit higher.
Dr Sardonicus is offline   Reply With Quote
Old 2021-03-15, 06:50   #115
PAT291
 
Feb 2017
Belgium

2110 Posts
Default

Quote:
Originally Posted by PAT291 View Post
So if somebody can proof that “if (3^(Mn-1)/2 + 1)==0 (mod Mn) then Mn is prime”, it would be a kind of breakthrough J

It would be another primality test
Quote:
Originally Posted by PAT291 View Post
correction: it would be a primality test for Mersenne numbers
note: testing off course is only useful for well chosen n i.e. at least prime

Last fiddled with by PAT291 on 2021-03-15 at 07:23
PAT291 is offline   Reply With Quote
Old 2021-03-15, 07:46   #116
PAT291
 
Feb 2017
Belgium

3·7 Posts
Default

Quote:
Originally Posted by Dr Sardonicus View Post
I have no idea for how many p the above condition has actually been checked. IIRC I checked that it excluded all Mp except the known primes for p < 5000, and may have run it up a bit higher.


I verified myself for p<1000 (with limited resources). Then stopped and wanted to know if there existed any counterexample (or counterproof). When my assumption stands it would be a waste of time looking for counterexamples. Although, every run that doesn't yields to a counterexample, raises the probability of my assumption.


I'm sure that if my assumption stands primality can be proven in less then n steps, at least in some cases f.e. M13 in less then 8 steps. AFAIK the number of steps today is p-2 (Sp-2 == 0 mod Mp)
PAT291 is offline   Reply With Quote
Old 2021-03-18, 06:24   #117
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

EB416 Posts
Default

Getting back on track for this thread...
  • Let b != +-2^s
  • Let a = b^r where kronecker(a^2-1,n) == -1
  • Test1: (a^2-1,n)^((n-1)/2) == -1 (mod n)
  • Test2: (b*x)^((n+1)/2) == b*kronecker(b*2*(a+1),n) (mod n, x^2-2*a*x+1)
Without solving the DLOG for the first condition can we let b=3?

Last fiddled with by paulunderwood on 2021-03-18 at 19:46
paulunderwood is offline   Reply With Quote
Old 2021-03-18, 19:41   #118
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

EB416 Posts
Default

If n = 2^s+-3, letting b = 5 would mean 2^s-2 would okay for a base or 2^s -8 would also be okay for a base, since neither are powers ;
of 2. So apart from these corner cases taking b=3 should be fine. Maybe I should consider n=2^(k*s)-3^k too?

Testing is slow as it is a triple loop, I can test some larger numbers of 10 or more digits but again testing is slow. I will let things soak for a while before trying to think of an easy way to find a counterexample, maybe with b=3 in a double loop or by some CRT method on semi-primes.

Soon after I found a counterexample:

Code:
? [n,a]=V[1]                                                             
[6192880203469, 2798764784749]
? Mod(a,n)^((n-1)/2)==-1                                                             
1
? Mod(Mod(a*x,n),x^2-2*a*x+1)^((n+1)/2)==a*kronecker(a*2*(a+1),n)                
1
? znlog(a,Mod(2,n))                              
[]

Last fiddled with by paulunderwood on 2021-03-18 at 20:41
paulunderwood is offline   Reply With Quote
Old 2021-03-18, 21:53   #119
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

22×941 Posts
Default odd r

  • Let a=2^r, r odd and minimal such that kronecker(a^2-1,n)==-1
  • Test1. Mod(a^2-1.n)^((n-1)/2)==-1
  • Test2. Mod(Mod(2*x,n),x^2-2*a*a+1)^((n+1)/2)==2*kronecker(a+1)

Interestingly counterexamples exist but only when gcd(z-1,r)==r or gcd(z-2,r)==r and r<z, where z is znorder(Mod(2,n)). This can be seen by running the following program:

Code:
{
forstep(n=3,1000000000,2,
if(!ispseudoprime(n)&&!issquare(n)&&Mod(2,n)^n==2,
z=znorder(Mod(2,n));forstep(r=1,z,2,
a=lift(Mod(2,n)^r);if(Mod(a^2-1,n)^((n-1)/2)==-1&&
Mod(Mod(2*x,n),x^2-2*a*x+1)^((n+1)/2)==2*kronecker(a+1,n),
print([n,z,r,gcd(z-1,r)==r||gcd(z-2,r)==r])))))
}
And the pattern breaks down for [n,z,r]=[16442311159, 3977337, 494917]

Last fiddled with by paulunderwood on 2021-03-18 at 23:30
paulunderwood is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't miss this amazing trick that the moon is going to do! Uncwilly Astronomy 6 2018-02-01 05:40
Amazing result in P-1 Miszka Information & Answers 2 2014-07-04 17:11
Amazing academic resource Xyzzy Lounge 6 2012-03-25 22:57
Amazing!!! R.D. Silverman Factoring 5 2006-01-26 09:14
Two Amazing Things clowns789 Hardware 1 2003-12-27 16:57

All times are UTC. The time now is 23:19.


Fri Aug 6 23:19:14 UTC 2021 up 14 days, 17:48, 1 user, load averages: 4.19, 4.08, 4.04

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.