Combined Sieve Algorithm for Prime Gaps
Abstract
A new Combined Sieve algorithm is presented with cost proportional to the number of enumerated factors over a series of intervals. This algorithm achieves a significant speedup, over a traditional sieve, when handling many ([10^4, 10^7]) intervals concurrently. The speedup comes from a space-time tradeoff and a novel solution to a modular equation. In real world tests, this new algorithm regularly runs 10,000x faster. This faster sieve paired with higher sieving limits eliminates more composites and accelerates the search for large prime gaps by 30-70%. During the development and testing of this new algorithm, two top-10 record merit prime gaps were discovered.
- Publication:
-
arXiv e-prints
- Pub Date:
- November 2020
- DOI:
- 10.48550/arXiv.2012.03771
- arXiv:
- arXiv:2012.03771
- Bibcode:
- 2020arXiv201203771T
- Keywords:
-
- Mathematics - Number Theory;
- Computer Science - Mathematical Software;
- 11N05 (Primary) 11N35
- E-Print:
- 10 pages, 4 figures, Open source code (GitHub), active development