# Bunyakovsky conjecture

The Bunyakovsky conjecture (or Bouniakowsky conjecture) gives a criterion for a polynomial $f(x)$ in one variable with integer coefficients to give infinitely many prime values in the sequence$f(1),f(2),f(3),\ldots .$ It was stated in 1857 by the Russian mathematician Viktor Bunyakovsky. The following three conditions are necessary for $f(x)$ to have the desired prime-producing property:
* The leading coefficient is positive,
* The polynomial is irreducible over the rationals (and integers), and
* There is no common factor for all the infinitely many values $f(1),f(2),f(3),\ldots$. (In particular, the coefficients of $f(x)$ should be relatively prime. It is not necessary for the values f(n) to be pairwise relatively prime.)
Bunyakovsky's conjecture is that these conditions are sufficient: if $f(x)$ satisfies (1)–(3), then $f(n)$ is prime for infinitely many positive integers $n$.
A seemingly weaker yet equivalent statement to Bunyakovsky's conjecture is that for every integer polynomial $f(x)$ that satisfies (1)–(3), $f(n)$ is prime for at least one positive integer $n$: but then, since the translated polynomial $f(x+n)$ still satisfies (1)–(3), in view of the weaker statement $f(m)$ is prime for at least one positive integer $m>n$, so that $f(n)$ is indeed prime for infinitely many positive integers $n$. Bunyakovsky's conjecture is a special case of Schinzel's hypothesis H, one of the most famous open problems in number theory.

## Discussion of three conditions

The first condition is necessary because if the leading coefficient is negative then $f(x)<0$ for all large $x$, and thus $f(n)$ is not a (positive) prime number for large positive integers $n$. (This merely satisfies the sign convention that primes are positive.)
The second condition is necessary because if $f(x)=g(x)h(x)$ where the polynomials $g(x)$ and $h(x)$ have integer coefficients, then we have $f(n)=g(n)h(n)$ for all integers $n$; but $g(x)$ and $h(x)$ take the values 0 and $\pm 1$ only finitely many times, so $f(n)$ is composite for all large $n$.
The second condition also fails for the polynomials reducible over the rationals.
For example, the integer-valued polynomial $P(x)=(1/12)\cdot x^{4}+(11/12)\cdot x^{2}+2$ doesn't satisfy the condition (2) since $P(x)=(1/12)\cdot (x^{4}+11x^{2}+24)=(1/12)\cdot (x^{2}+3)\cdot (x^{2}+8)$, so at least one of the latter two factors must be a divisor of $12$ in order to have $P(x)$ prime, which holds only if $|x|\leq 3$. The corresponding values are $2,3,7,17$, so these are the only such primes for integral $x$ since all of these numbers are prime. This isn't a counterexample to Bunyakovsky conjecture since the condition (2) fails.
The third condition, that the numbers $f(n)$ have gcd 1, is obviously necessary, but is somewhat subtle, and is best understood by a counterexample. Consider $f(x)=x^{2}+x+2$, which has positive leading coefficient and is irreducible, and the coefficients are relatively prime; however $f(n)$ is even for all integers $n$, and so is prime only finitely many times (namely at $n=0,-1$, when $f(n)=2$).
In practice, the easiest way to verify the third condition is to find one pair of positive integers $m$ and $n$ such that $f(m)$ and $f(n)$ are relatively prime. In general, for any integer-valued polynomial $f(x)=c_{0}+c_{1}x+\cdots +c_{d}x^{d}$ we can use $\gcd\{f(n)\}_{n\geq 1}=\gcd(f(m),f(m+1),\dots ,f(m+d))$ for any integer $m$, so the gcd is given by values of $f(x)$ at any consecutive $d+1$ integers. In the example above, we have $f(-1)=2,f(0)=2,f(1)=4$ and so the gcd is $2$, which implies that $x^{2}+x+2$ has even values on the integers.
Alternatively, when an integer polynomial $f(x)$ is written in the basis of binomial coefficient polynomials: $f(x)=a_{0}+a_{1}{\binom {x}{1}}+\cdots +a_{d}{\binom {x}{d}},$ each coefficient $a_{i}$ is an integer and $\gcd\{f(n)\}_{n\geq 1}=\gcd(a_{0},a_{1},\dots ,a_{d}).$ In the example above, this is: $x^{2}+x+2=2{\binom {x}{2}}+2{\binom {x}{1}}+2,$ and the coefficients in the right side of the equation have gcd 2.
Using this gcd formula, it can be proved $\gcd\{f(n)\}_{n\geq 1}=1$ if and only if there are positive integers $m$ and $n$ such that $f(m)$ and $f(n)$ are relatively prime.

## Examples
### A simple quadratic polynomial

Some prime values of the polynomial $f(x)=x^{2}+1$ are listed in the following table. (Values of $x$ form OEIS sequence A005574; those of $x^{2}+1$ form A002496.)
| $x$ | 1 | 2 | 4 | 6 | 10 | 14 | 16 | 20 | 24 | 26 | 36 | 40 | 54 | 56 | 66 | 74 | 84 | 90 | 94 | 110 | 116 | 120 |
| $x^{2}+1$ | 2 | 5 | 17 | 37 | 101 | 197 | 257 | 401 | 577 | 677 | 1297 | 1601 | 2917 | 3137 | 4357 | 5477 | 7057 | 8101 | 8837 | 12101 | 13457 | 14401 |
That $n^{2}+1$ should be prime infinitely often is a problem first raised by Euler, and it is also the fifth Hardy–Littlewood conjecture and the fourth of Landau's problems. Despite the extensive numerical evidence
it is not known that this sequence extends indefinitely.

### Cyclotomic polynomials

The cyclotomic polynomials $\Phi _{k}(x)$ for $k=1,2,3,\ldots$ satisfy the three conditions of Bunyakovsky's conjecture, so for all k, there should be infinitely many natural numbers n such that $\Phi _{k}(n)$ is prime. It can be shown that if for all k, there exists an integer n > 1 with $\Phi _{k}(n)$ prime, then for all k, there are infinitely many natural numbers n with $\Phi _{k}(n)$ prime.
The following sequence gives the smallest natural number n > 1 such that $\Phi _{k}(n)$ is prime, for $k=1,2,3,\ldots$:
    3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 2, 2, 2, 2, 2, 2, 6, 2, 4, 3, 2, 10, 2, 22, 2, 2, 4, 6, 2, 2, 2, 2, 2, 14, 3, 61, 2, 10, 2, 14, 2, 15, 25, 11, 2, 5, 5, 2, 6, 30, 11, 24, 7, 7, 2, 5, 7, 19, 3, 2, 2, 3, 30, 2, 9, 46, 85, 2, 3, 3, 3, 11, 16, 59, 7, 2, 2, 22, 2, 21, 61, 41, 7, 2, 2, 8, 5, 2, 2, ... (sequence A085398 in the OEIS).
This sequence is known to contain some large terms: the 545th term is 2706, the 601st is 2061, and the 943rd is 2042. This case of Bunyakovsky's conjecture is widely believed, but again it is not known that the sequence extends indefinitely.
Usually, there is an integer $n$ between 2 and $\phi (k)$ (where $\phi$ is Euler's totient function, so $\phi (k)$ is the degree of $\Phi _{k}(n)$) such that $\Phi _{k}(n)$ is prime, but there are exceptions; the first few are:
    1, 2, 25, 37, 44, 68, 75, 82, 99, 115, 119, 125, 128, 159, 162, 179, 183, 188, 203, 213, 216, 229, 233, 243, 277, 289, 292, ....

## Partial results: only Dirichlet's theorem

To date, the only case of Bunyakovsky's conjecture that has been proved is that of polynomials of degree 1. This is Dirichlet's theorem, which states that when $a$ and $m$ are relatively prime integers there are infinitely many prime numbers $p\equiv a{\pmod {m}}$. This is Bunyakovsky's conjecture for $f(x)=a+mx$ (or $a-mx$ if $m<0$). The third condition in Bunyakovsky's conjecture for a linear polynomial $mx+a$ is equivalent to $a$ and $m$ being relatively prime.
No single case of Bunyakovsky's conjecture for degree greater than 1 is proved, although numerical evidence in higher degree is consistent with the conjecture.

## Generalized Bunyakovsky conjecture

Given $k\geq 1$ polynomials with positive degrees and integer coefficients, each satisfying the three conditions, assume that for any prime $p$ there is an $n$ such that none of the values of the $k$ polynomials at $n$ are divisible by $p$. Given these assumptions, it is conjectured that there are infinitely many positive integers $n$ such that all values of these $k$ polynomials at $x=n$ are prime. This conjecture is equivalent to the generalized Dickson conjecture and Schinzel's hypothesis H.