![]() |
![]() |
#1 |
Sep 2002
Database er0rr
2×33×83 Posts |
![]()
Let the test be:
Code:
{tst(n,a,b)=c=a+b;T=(x-a)*(x-b)*(x+c); trace(Mod(Mod(x,n),T-1)^n)==0&& trace(Mod(Mod(x,n),T+1)^n)==0} I have also run: Code:
for(n=4,10000000,if(!ispseudoprime(n)&&tst(n,1,2),print([n,factor(n)]))) [49, Mat([7, 2])] [343, Mat([7, 3])] [2401, Mat([7, 4])] [16807, Mat([7, 5])] [84035, [5, 1; 7, 5]] [98441, [7, 4; 41, 1]] [117649, Mat([7, 6])] [232897, [7, 4; 97, 1]] [823543, Mat([7, 7])] [5764801, Mat([7, 8])] It's a fun test to play with! ![]() |
![]() |
![]() |
![]() |
#2 | |
Sep 2002
Database er0rr
10001100000102 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#3 | |
Sep 2002
Database er0rr
2×33×83 Posts |
![]() Quote:
For example a=3*17 and b=3*17 produces numbers only divisible by D=17. But what is D for various A and B? Especially for A!=B? Last fiddled with by paulunderwood on 2022-10-10 at 13:45 |
|
![]() |
![]() |
![]() |
#4 | |
Sep 2002
Database er0rr
2·33·83 Posts |
![]() Quote:
Code:
for(v=1,#V,n=V[v];if(tst(n,16,16),print([n,factor(n)]))) Last fiddled with by paulunderwood on 2022-10-10 at 16:02 |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Single Parameter Frobenius test -- 1+1+1+1+2 Selfridges | paulunderwood | Miscellaneous Math | 2 | 2021-10-14 22:03 |
Houston, we have a new double Mersenne to test... | ET_ | Operazione Doppi Mersennes | 1 | 2018-01-29 15:50 |
Status of Double Checked LL Test | justinstevens42 | Information & Answers | 2 | 2018-01-22 16:03 |
M(57885161) yields no primitive trinomial over GF(2) | ewmayer | Computer Science & Computational Number Theory | 5 | 2013-06-06 02:50 |
Double check LL test faster than first run test | lidocorc | Software | 3 | 2008-12-03 15:12 |