without using a counter example, show a proof that Euler's polynomial equation P(n)=n^2+n+41 can not be used to generate all the primes.can a general proof be made to show that all primes cannot be generated by a specific polynomial?
I believe you mean that P(n) would be prime for positive integers n, but there is now a general proof out there that no polynominal equation can generate only primes for all positive integers. I am sure that someone can cive you a link to a proof.thats the proposition made by Euler that P(n)=n^2+n+41 can generate all primes and it was suddenly proven false by using a counter example, isnt there any way he can be proven to be false?
...is a polynomial inequality in 26 variables, and the set of prime numbers is identical to the set of positive values taken on by this polynomial inequality as the variables a, b, …, z range over the nonnegative integers.
A general theorem of Matiyasevich says that if a set is defined by a system of Diophantine equations, it can also be defined by a system of Diophantine equations in only 9 variables. Hence, there is a prime-generating polynomial as above with only 10 variables. However, its degree is large (in the order of 10^45). On the other hand, there also exists such a set of equations of degree only 4, but in 58 variables (Jones 1982).
but the same polynominal would generate composites also with large enough variables. Think how easy it would be to exceed the largest prime otherwise
That no polynominal can generate all primes is easily shown using the reference given already http://en.wikipedia.org/wiki/Formula_for_primes
Let P(1) = a prime S. [tex] Then P(1+kS) \equiv P(1) \equiv 0 Mod S.[/tex]
I am 60 and some years old so I some times don't remember exactly what I read too well. The book is up in the attic. Some time I will look again at what was said about the polynominal. But that the polynominal does give composite values is of course easily shown.Was that in response to my post? I was incredulous about the claim that "once widely thought to generate primes for any integer n". It's obvious that no nonconstant polynomial can produce primes for all n, so it's hard for me to believe that this was ever believed. But it could be true, so I was looking for ramsey2879 or someone else to comment on that.