Euler famously discovered the polynomial $f(n) = n^2 + n + 41$, which generates prime numbers for $n = 0,1,2,3,…,40$, but not $n = 41$ ($41^2 + 41 + 41$ is obviously divisible by $41$).
Hearing of this result made me curious to see if there was a polynomial that could generate all possible primes. However, I learned that it has been proven that no polynomial $f(n) = a_n x^n + … + a_1 x +a_0$ can return primes for all $n$ (proven informally by Richard E. Borcherds in his first number theory lecture, 13:44-16:45). This is quite a disappointing result, especially since Euler’s seems to come pretty close.
Regardless, I am curious to see if there are any other similar examples of known polynomials that generate primes for integers within a given interval. Are there any other examples of polynomials like Euler’s that generate a large number of primes?
Finally, if more of these kinds of polynomials do exist, how would one go about looking for them?