mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2013-03-16, 04:26   #1
mafshin
 
Mar 2013

216 Posts
Default NewPGen Primorial Sieve Limit ...

Dear prime hunters

I'm searching for generalized primorials (k*pn#+-1) but for seiveing I have a problem. Since NewPGen doesn't allow me to go further than 119K, I'm forced to use PFGW -f for sieving which is much slower than NewPGen.

NewPGen says:
"The maximum value for a primorial is 274579# - which has got about 119248 decimal digits"

What's your suggestion on this? Is the source of NewPGen available to modify it? Or does exit any other powerful sieve tool specialized for primorial?


Thanks
mafshin is offline   Reply With Quote
Old 2013-03-16, 10:39   #2
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23×3×5×72 Posts
Default

The source is at http://jpenne.free.fr/NewPGen/
henryzz is offline   Reply With Quote
Old 2013-03-19, 02:29   #3
Jens K Andersen
 
Jens K Andersen's Avatar
 
Feb 2006
Denmark

2·5·23 Posts
Default

What are you varying? If pn# is fixed then I have an unpublished program APTreeSieve which can sieve any arithmetic progression up to at least 700000 digits. For k*274579#+-1 it's around 10 times as fast as NewPGen.
It's a command-line program with a poor user interface.
Jens K Andersen is offline   Reply With Quote
Old 2013-03-23, 09:09   #4
mafshin
 
Mar 2013

28 Posts
Default NewPGen

Quote:
Originally Posted by henryzz View Post
Thanks for the source,

I got a hand on that and could compile it but because of assembly implementations in the code, it's not easy to raise the limits ...
mafshin is offline   Reply With Quote
Old 2013-03-23, 10:43   #5
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

5×172 Posts
Default

Quote:
Originally Posted by mafshin View Post
Thanks for the source,

I got a hand on that and could compile it but because of assembly implementations in the code, it's not easy to raise the limits ...
Why you compile ( do it hard way) , you can easly ask Jens K Andersen to send you unpublished program APTreeSieve

Last fiddled with by pepi37 on 2013-03-23 at 10:43
pepi37 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Largest Known Primorial a1call Miscellaneous Math 11 2016-12-14 21:35
Primorial calculation FreakyPotato Programming 7 2015-02-06 10:33
primorial primes jasong Math 1 2006-08-12 01:38
Primorial puzzle Citrix Puzzles 3 2006-03-07 15:07
Primorial question Dougy Math 2 2005-07-28 13:13

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


Sat Jul 17 00:19:52 UTC 2021 up 49 days, 22:07, 1 user, load averages: 1.82, 1.65, 1.60

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.