Two Algorithms to Find Primes in Patterns
Jonathan P. Sorenson, Jonathan Webster

TL;DR
This paper introduces two algorithms for finding prime values in linear polynomial patterns, with different efficiency and space trade-offs, and demonstrates their practical effectiveness through implementation and new prime discoveries.
Contribution
The paper presents the first complexity analysis for finding primes in linear patterns, providing two novel algorithms with proven correctness and practical implementation.
Findings
Found new Cunningham chains of length 15.
Discovered all quadruplet primes up to 10^{17}.
Demonstrated practical viability of the algorithms.
Abstract
Let be an integer, and let be admissible linear polynomials over the integers, or \textit{the pattern}. We present two algorithms that find all integers where and all the are prime. Our first algorithm takes at most arithmetic operations using space. Our second algorithm takes slightly more time, arithmetic operations, but uses only space for a constant . We prove correctness unconditionally, but the running time relies on two unproven but reasonable conjectures. We are unaware of any previous complexity results for this problem beyond the use of a prime sieve. We also implemented several parallel versions of our second algorithm to show it is viable in practice. In particular, we found some new Cunningham chains of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
