Two Algorithms to Find Primes in Patterns

07/23/2018
by   Jonathan P. Sorenson, et al.
0

Let k> 1 be an integer, and let (f_1(x), ..., f_k(x) ) be k admissible linear polynomials over the integers. We present two algorithms that find all integers x where {f_i(x) }< n and all the f_i(x) are prime. Our first algorithm takes at most O(nk/( n)^k) arithmetic operations using O(k√(n)) space. Our second algorithm takes slightly more time, O(nk/( n)^k-1) arithmetic operations, but uses only O( n/ n) space. This result is unconditional for k>6; for 2<k< 6, the proof of its running time, but not the correctness of its output, relies on an unproven but reasonable conjecture due to Bach and Huelsbergen. 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 10^17.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/02/2020

Exceptional scatteredness in prime degree

Let q be an odd prime power and n be a positive integer. Let ℓ∈F_q^n[x] ...
research
08/02/2022

An Algorithm for Ennola's Second Theorem and Counting Smooth Numbers in Practice

Let Ψ(x,y) count the number of positive integers n≤ x such that every pr...
research
07/19/2019

An Algorithm and Estimates for the Erdős-Selfridge Function (work in progress)

Let p(n) denote the smallest prime divisor of the integer n. Define the ...
research
11/29/2017

A note on time hierarchies for reasonable semantic classes without advice

We show time hierarchies for reasonable semantic classes without advice ...
research
11/15/2017

Set complexity of construction of a regular polygon

Given a subset of C containing x,y, one can add x + y or x - y or xy or...
research
02/02/2021

Sub-Linear Point Counting for Variable Separated Curves over Prime Power Rings

Let k,p∈ℕ with p prime and let f∈ℤ[x_1,x_2] be a bivariate polynomial wi...
research
03/23/2020

Faster computation of isogenies of large prime degree

Let E/F_q be an elliptic curve, and P a point in E(F_q) of prime order ℓ...

Please sign up or login with your details

Forgot password? Click here to reset