Let ' s assume there exists a non - constant polynomial F ( x ) such that eventually it takes all the
values of prime numbers .
Suppose for a particular value of x , say x = 1 , F ( x ) = P , where P is a prime number .
So we get , F ( 1 ) ≡ 0 ( mod P )
But for all integers Y , F ( 1 + PY ) = 0 ( mod P )
Hence , F ( 1 + PY ) cannot be a prime number as it is divisible by P .
So the only option left , is that F ( 1 ) = F ( 1 + PY ) .
But that also is not permissible as F ( x ) is not a constant function by our assumption .
So we conclude that there exists no such non - constant polynomial which can generate all the
prime numbers .
To prove that , F ( 1 + PY ) = 0 ( mod P ) ----- >
One can assume F ( x ) = a0 x n + a1 x n - 1 + .............
So F ( 1 ) = a0 + a1 + a2 + .............. = P
And F ( 1 + PY ) = a0 ( 1 + YP ) n + a1 ( 1 + YP ) n - 1 + .........
= { a0 + a1 + ................ } + YP ( ...............) - - - - - - -> { by binomial expansion }
= P + YP ( ................... )
Clearly , F ( 1 + PY ) is divisble by P also .