View Single Post
Old 2020-11-17, 07:51   #5
Happy5214's Avatar
Nov 2008
The Alamo City

601 Posts

Originally Posted by YaoPlaysMC View Post
I'm using k*2^n-1
That's the Riesel prime form, and you should use srsieve2 (from the mtsieve package) to start the sieve, and then either sr1sieve (if you're working with one or two k's) or sr2sieve (if you're sieving more than two k's) to finish it. The advice Dylan gave on when to stop is correct, and I'll add that you should be using LLR for numbers of this form.

Edit: I read the replies first and then the OP. Disregard what I said except that you should use LLR instead of PFGW.

Last fiddled with by Happy5214 on 2020-11-17 at 07:58 Reason: Goofed.
Happy5214 is offline   Reply With Quote