![]() |
|
|
#111 | ||
|
Sep 2002
Database er0rr
72648 Posts |
Quote:
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:
Last fiddled with by paulunderwood on 2021-03-14 at 14:33 |
||
|
|
|
|
|
#112 |
|
Feb 2017
Belgium
3×7 Posts |
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 |
|
|
|
|
|
#113 |
|
Feb 2017
Belgium
3×7 Posts |
|
|
|
|
|
|
#114 | |
|
Feb 2017
Nowhere
124216 Posts |
Quote:
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. |
|
|
|
|
|
|
#115 | |
|
Feb 2017
Belgium
2110 Posts |
Quote:
Last fiddled with by PAT291 on 2021-03-15 at 07:23 |
|
|
|
|
|
|
#116 | |
|
Feb 2017
Belgium
3·7 Posts |
Quote:
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) |
|
|
|
|
|
|
#117 |
|
Sep 2002
Database er0rr
EB416 Posts |
Getting back on track for this thread...
Last fiddled with by paulunderwood on 2021-03-18 at 19:46 |
|
|
|
|
|
#118 |
|
Sep 2002
Database er0rr
EB416 Posts |
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 |
|
|
|
|
|
#119 |
|
Sep 2002
Database er0rr
22×941 Posts |
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])))))
}
Last fiddled with by paulunderwood on 2021-03-18 at 23:30 |
|
|
|
![]() |
| 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 |