![]() |
![]() |
#1 |
Sep 2002
Database er0rr
481110 Posts |
![]()
Given non-square odd candidate prime n and b=6 and any r so that a=b^r, where kronecker(a^2-4,n)==-1 and gcd(a^3-a,n)==1. then the test
(b*x)^((n+1)/2) == b*kronecker(b*(a+2)) (mod n, x^2-a*x+1) implies n is prime! Proof? Counterexample? A strong test? ![]() |
![]() |
![]() |
![]() |
#2 |
Feb 2017
Nowhere
3·7·311 Posts |
![]()
Did you mean kronecker(b*(a+2),n)?
|
![]() |
![]() |
![]() |
#3 |
Sep 2002
Database er0rr
17×283 Posts |
![]() |
![]() |
![]() |
![]() |
#4 |
Sep 2002
Database er0rr
481110 Posts |
![]()
Since I stipulate that gcd(a^3-a,n)==1, I may as well say gcd(210,n)==1, since 6 divides a, 5 divides 6^r-1 for all r and 7 divides 6^r+1 for all r.
Testing has now reached 5*10^10 ![]() |
![]() |
![]() |
![]() |
#5 |
Aug 2006
22·3·499 Posts |
![]()
Would you post your script?
|
![]() |
![]() |
![]() |
#6 |
Sep 2002
Database er0rr
17×283 Posts |
![]()
Sure. Here you go. It needs some enhancements and formatting
![]() Code:
b=6;forstep(n=1,10000000000000,2,if(n%10000000==1,print(">>"n));if(!ispseudoprime(n)&&!issquare(n)&&Mod(b,n)^(n-1)==1,z=znorder(Mod(b,n));for(r=0,z,a=lift(Mod(b,n)^r);if(gcd(a^3-a,n)==1&&kronecker(a^2-4,n)==-1&&Mod(Mod(1,n)*b*x,x^2-a*x+1)^((n+1)/2)==b*kronecker(b*(a+2),n),print([n,r,a]))))) Last fiddled with by paulunderwood on 2019-02-06 at 03:48 |
![]() |
![]() |
![]() |
#7 |
Feb 2017
Nowhere
3·7·311 Posts |
![]()
Fascinating. Assuming this is a property possessed by all primes p satisfying the conditions, it implies that
if kronecker(a^2 - 4, p) = -1, then lift(Mod(x,x^2 - Mod(a,p)*x + 1)^((p+1)/2))) == kronecker(a+2, p). I'm convinced that this is true, but I don't see why it's true. What is clear to me is, it's either kronecker(a+2,p) or kronecker(a-2, p). I'm probably overlooking something obvious... ![]() |
![]() |
![]() |
![]() |
#8 | |
Sep 2002
Database er0rr
481110 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Sep 2002
Database er0rr
481110 Posts |
![]() |
![]() |
![]() |
![]() |
#11 |
Sep 2002
Database er0rr
17·283 Posts |
![]()
Testing has reached 2*10^11 with Pari/GP, having now switched over to the much quicker attached GMP script.
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
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 |