-   Riesel Prime Search (
-   -   Welcome to "Riesel Prime Search" (

BotXXX 2005-11-02 10:32

New forum?
Shouldn't the posts concerning RPS be moved to the newly created forum? [url][/url]

edorajh 2006-03-17 10:56

[quote=Flatlander]Should new prover codes include 'NewPGen'?[/quote]

I can't find answer to this question. Should we include NewPGen in prover code even if we find prime in Team Drive? Not that I find one (but I hope I will :smile: ), I'm just curious.

Kosmaj 2012-08-17 09:47

I'll try to collect answers to some frequent questions, a kind of FAQ, and the first one is:

Q: What does the first line of the LLR input (NewPGen output) file means?
A:[URL=""] this thread[/URL]

Kosmaj 2012-08-17 10:05

Q: Can I sieve myself?
A: Yes, for k*2^n-1 and k*2^n+1, fixed k, the fastest sieving program to use is [URL=""]srsieve[/URL].
Use sr1sieve to sieve a single k, or sr2sieve to sieve multiple k's at once.

However, for k<10000 (=10^4), on both plus and minus side, Psieve already sieved deep enough all n<3M (3E6). Larger exponents up to about n=6M are still being sieved but the latest output files are already well sieved and can be used for prime search.

In short, for k<10000 use the Psieve files and give credit to them, for k>10000 sieve yourself using srsieve.

shanecruise 2012-09-13 05:08

i'm trying to run srseive on linux
can you help me with a sample input

Thomas11 2012-09-13 09:32

[QUOTE=shanecruise;311401]i'm trying to run srseive on linux
can you help me with a sample input[/QUOTE]

Let's assume that you want to sieve k=12345 for nmin=1M and nmax=1.2M:
[CODE]./srsieve 12345*2^n-1 -n 1000000 -N 1200000 -f

The option "-f" means that the factors are written to a logfile (srfactors.txt). You may omit this.
Of course, you may specify more than one sequence (multiple k).
pmin and pmax can be specified by "-p" and "-P". If not given, the sieve will start at p=2 and will run until manually stopped (by pressing Ctrl-C).

The output will be written to the file "srsieve.out".
This file may be converted by using the tool called "srfile":
[CODE]./srfile -g srsieve.out[/CODE]

This will create individual files for each k in NewPGen format. The option "-G" will create a combined file ("PRP" format). The option "-a" converts to "abcd" format. You will need this file format when you want to use sr2sieve.

Hope this helps...

VBCurtis 2012-09-14 03:33

I believe srsieve accepts the srfile flags for file type directly. So, you can end your srsieve command with a -g or -G to produce LLR-readable output directly.

shanecruise 2012-09-14 04:36

ok so far so good

I figured out srseive and sr1seive, playing with them :)

now how do i give multiple k's?

Thomas11 2012-09-14 08:11

[QUOTE=shanecruise;311542]ok so far so good

I figured out srseive and sr1seive, playing with them :)

now how do i give multiple k's?[/QUOTE]

Just by entering all expressions one after another separated by spaces, e.g. this way:
[CODE]./srsieve 12345*2^n-1 12347*2^n-1 12349*2^n-1 -n 1000000 -N 1200000[/CODE]

Note that sr1sieve works for single k only. If you want to sieve multiple k at once you should use sr2sieve.

[QUOTE=shanecruise]Also is this sr1sieve great for mersenne prime? k=1[/QUOTE]

I never tried. But why should you do this?

Kosmaj 2012-09-14 09:34

Of course you can sieve Mersenne primes with srsieve but it will very unefficient, because srsieve is a general purpose sieving software not employing the fact that factors can be only of form 2*m*n+1 (of 2^n-1). So even PrimeForm which has this feature will be faster than srsieve. But Gimps has many more speed-ups, and can do P-1 test, ecm curves and so on. You can download Gimps and try sieving without joining the project.

Regarding 5*n^2-1, can you tell us which file have you tried to sieve, and what factors have you found? Those test files are not the latest version, but they are fairly new, from a sieving file released a few months ago.

shanecruise 2012-09-14 09:51

told you just playing with things :)

All times are UTC. The time now is 00:49.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.