mersenneforum.org How to use LLR?
 Register FAQ Search Today's Posts Mark Forums Read

2020-05-13, 17:26   #1
sweety439

Nov 2016

111100101012 Posts
How to use LLR?

Can someone help me? I want to use LLR to find the smallest (probable) prime of the form (185^n-1)/184 (base 185 repunit, I already know that this is composite for all n<=60000, and this can be prime only for prime n), thus I download the program cllr.exe, and I type this in the sieve file:

Code:
ABC (185^$a-1)/184 a: primes from 60000 to 100000 but the llr program result is Code: Invalid ABC format, next data lines will be flushed... Attached Files  repunit.zip (864.8 KB, 4 views) 2020-05-13, 17:38 #2 paulunderwood Sep 2002 Database er0rr 5·643 Posts Quote:  Originally Posted by sweety439 Can someone help me? I want to use LLR to find the smallest (probable) prime of the form (185^n-1)/184 (base 185 repunit, I already know that this is composite for all n<=60000, and this can be prime only for prime n), thus I download the program cllr.exe, and I type this in the sieve file: Code: ABC (185^$a-1)/184 a: primes from 60000 to 100000 but the llr program result is Code: Invalid ABC format, next data lines will be flushed...
Run it through PFGW downloaded from sourceforge and use the -f switch for trial factoring if necessary.

From pfgwdoc.txt:

Quote:
 -f{801} uses only primes which are of the form k*801+1

Last fiddled with by paulunderwood on 2020-05-13 at 17:47

2020-05-13, 17:49   #3
sweety439

Nov 2016

3×647 Posts

Quote:
 Originally Posted by paulunderwood Run it through PFGW downloaded from sourceforge and use the -f switch for trial factoring if necessary. From pfgwdoc.txt:
So if I want to use LLR to test all numbers of the form (b^n-1)/(b-1) with b=185, 269, 281 and 60000<=n<=100000 with prime n, what should I type?

2020-05-13, 17:51   #4
paulunderwood

Sep 2002
Database er0rr

5×643 Posts

Quote:
 Originally Posted by sweety439 So if I want to use LLR to test all numbers of the form (b^n-1)/(b-1) with b=185, 269, 281 and 60000<=n<=100000 with prime n, what should I type?
You need to generate a list to input to LLR.

Why bother? PFGW is much better at this sort of thing.

More from the documentation:

Quote:
 Phi(x,y) Cyclotomic number

Last fiddled with by paulunderwood on 2020-05-13 at 18:10

2020-05-22, 20:54   #5
Kebbaj

"Kebbaj Reda"
May 2018
Casablanca, Morocco

5·11 Posts

Quote:
 Originally Posted by paulunderwood You need to generate a list to input to LLR. Why bother? PFGW is much better at this sort of thing. More from the documentation:

The great advantage of pfgw over LLR is that pfgw test any form while LLR is limited to some form. But multithreading on LLR is faster than on the new version of pfgw64 with the -T switch. I don't know if I don't know how to use the -T switch on pfgw.

2020-05-22, 21:09   #6
paulunderwood

Sep 2002
Database er0rr

5×643 Posts

Quote:
 Originally Posted by Kebbaj The great advantage of pfgw over LLR is that pfgw test any form while LLR is limited to some form. But multithreading on LLR is faster than on the new version of pfgw64 with the -T switch. I don't know if I don't know how to use the -T switch on pfgw.
We need to put it to the test with a (b^n-1)/(b-1) number of considerable size not necessarily prime.

Code:
./llr64 -q"(10^49081-1)/9" -t4
Invalid expression in command line.
Code:
./pfgw64 -q"Phi(49081,10)" -T4
PFGW Version 4.0.1.64BIT.20191203.x86_Dev [GWNUM 29.8]

Phi(49081,10) is 3-PRP! (7.5663s+0.0012s)

Last fiddled with by paulunderwood on 2020-05-22 at 22:19