Two algorithms to find primes in patterns

From MaRDI portal
Publication:4960081

DOI10.1090/MCOM/3501zbMATH Open1461.11017arXiv1807.08777OpenAlexW2884734563MaRDI QIDQ4960081FDOQ4960081


Authors: Jonathan Webster, Jonathan P. Sorenson Edit this on Wikidata


Publication date: 8 April 2020

Published in: Mathematics of Computation (Search for Journal in Brave)

Abstract: Let kge1 be an integer, and let P=(f1(x),ldots,fk(x)) be k admissible linear polynomials over the integers, or extit{the pattern}. We present two algorithms that find all integers x where maxfi(x)len and all the fi(x) are prime. Our first algorithm takes at most OP(n/(loglogn)k) arithmetic operations using O(ksqrtn) space. Our second algorithm takes slightly more time, OP(n/(loglogn)k1) arithmetic operations, but uses only n1/c space for a constant c>2. 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 length 15, and we found all quadruplet primes up to 1017.


Full work available at URL: https://arxiv.org/abs/1807.08777




Recommendations




Cites Work


Cited In (4)





This page was built for publication: Two algorithms to find primes in patterns

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4960081)