![]() |
![]() |
#78 |
Jun 2015
Vallejo, CA/.
2·577 Posts |
![]() |
![]() |
![]() |
![]() |
#79 |
Dec 2008
you know...around...
23×109 Posts |
![]()
Perhaps it would be expedient to consider a complete trial division sieve on large intervals in order for the search to remain exhaustive.
Not sure what's possible in terms of efficient computation, but I'm envisioning a large bitmap, for example 32 GB in size, which could contain almost 3e12 numbers if a wheel size of 30030 is used and only numbers of the form 6k+1 are being looked at (a gap of >= 1432 should appear every about 5e8 integers, only those would have to be checked again for 6k-1 in-between). To compete, we expect a throughput of at least, say, 3e10 per second. Trial division needs about 210 million primes (i.e. on top about 200 MB to store the halved differences between primes, one per byte), where I guess memory writing is the bottleneck for small primes, "mod"-ing for large primes may be similarly slow (a simplification, I know, there's certainly more to it). Searching for gaps in the sieved interval is the next possible bottleneck, I don't know how much can be done in parallel. If one such interval could be dealt with in less than two minutes, we'd be happy. Is this worth any thought? What are the most critical hurdles we are facing? |
![]() |
![]() |
![]() |
#80 |
May 2018
3·5·19 Posts |
![]()
Yes. This is a good idea. It does not seem to have any hurdles. You did primes up to 264 quickly, so this should be quick, too.
|
![]() |
![]() |
![]() |
#81 |
Dec 2008
you know...around...
36816 Posts |
![]()
Me? Not so much, my performance as a participant back in 2018 was only mediocre, remember that I didn't find any first occurrences. Unlucky me
![]() Also I don't know how to write code comparable to that of Robert Gerbicz's. It takes way more skill and dexterity than a few lines of Pari or Basic... |
![]() |
![]() |
![]() |
#82 |
Dec 2022
2·32·17 Posts |
![]()
The obvious question is: to what extent can that code be re-used in a search beyond 2^64? Also, because of the smaller interval required (less than 2^55), it doesn't need to be as efficient.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Guess the next maximal prime gap. | Bobby Jacobs | Prime Gap Searches | 7 | 2022-08-28 12:12 |
Gaps between maximal prime gaps | Bobby Jacobs | Prime Gap Searches | 52 | 2020-08-22 15:20 |
Superprime gaps | Bobby Jacobs | Prime Gap Searches | 5 | 2019-03-17 20:01 |
Top 50 gaps | robert44444uk | Prime Gap Searches | 1 | 2018-07-10 20:50 |
Gaps and more gaps on <300 site | gd_barnes | Riesel Prime Search | 11 | 2007-06-27 04:12 |