Are there infinitely many primes of the form [expression]?
(We probably don't know. Sorry.)
This question appears pretty often, with any number of various expressions. The sad reality is that the answer, more likely than not, is that we don't know. What we don't know about the prime numbers vastly outnumbers what we do know. Related questions regarding gaps between primes are common as well. For instance:
- Common unanswerable questions posted to M.SE
- Are there infinitely many primes of the form $n^2+1$ ? Or any other order-2 or higher polynomial. We think there probably are, but it's unproven, and going to be hard to prove.
- Are there infinitely many primes of the form $2^k + a$ ? Or any other exponential expression.
- Are there infinitely many prime gaps of the form [expression]?
- Does [this formula] generate all the prime numbers? (Though this is often "No.")
Note: There are other questions that ask "What do we know about primes of the form [expression]?" This is a very different question, and can generate good discussion! They're also rarer.
I felt we could use an article that could be pointed to, edited, referenced, and the like, for questions of this type. Hopefully the community will find this useful.
This post will organize some answers--both positive and negative--to the question for various expressions, and provide informative links and proofs where proofs are available. Please edit in more information if you think it's useful! Note that the questions and answers here are not intended to deal with error terms, sieve bounds, asymptotics, etc. We're just keeping it nice and simple. Even the Prime Number Theorem is outside the scope here.
Terminology used below:
- The gap function, $g(p)$, is the difference between two consecutive primes. That is, $g(p_i) = p_{i+1} - p_i$.
- The prime-counting function, $\pi(x)$, counts the number of primes equal to or less than $x$.
- "ATIM": "Are There Infinitely Many"