View Single Post
2012-09-14, 08:11   #20
Thomas11

Feb 2003

111011011012 Posts

Quote:
 Originally Posted by shanecruise ok so far so good I figured out srseive and sr1seive, playing with them :) now how do i give multiple k's?
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
Note that sr1sieve works for single k only. If you want to sieve multiple k at once you should use sr2sieve.

Quote:
 Originally Posted by shanecruise Also is this sr1sieve great for mersenne prime? k=1
I never tried. But why should you do this?