Can a Polynomial Equation Generate All Primes? A Proof for Euler's Polynomial

  • Context: Graduate 
  • Thread starter Thread starter khotsofalang
  • Start date Start date
  • Tags Tags
    Polynomial Proof
Click For Summary

Discussion Overview

The discussion centers around the question of whether Euler's polynomial equation P(n) = n^2 + n + 41 can generate all prime numbers. Participants explore the implications of this polynomial in the context of prime generation, the existence of counterexamples, and the potential for general proofs regarding polynomial equations and prime numbers.

Discussion Character

  • Debate/contested
  • Exploratory
  • Technical explanation

Main Points Raised

  • Some participants question the definition of "Euler's polynomial equation" and its implications for generating primes.
  • There is a claim that Euler's polynomial was once thought to generate all primes but was proven false by counterexamples.
  • Some argue that a general proof exists showing that no polynomial can generate all primes for all positive integers.
  • One participant references a Wikipedia article suggesting that while polynomials in multiple variables can generate primes, they also produce composite numbers under certain conditions.
  • Another participant discusses the limitations of polynomial equations in generating primes, citing modular arithmetic as a basis for their argument.
  • Concerns are raised about the historical belief that nonconstant polynomials could produce primes for all integers, with some expressing skepticism about this claim.
  • Participants mention specific examples, such as evaluating P(40) to demonstrate that it yields a composite number.
  • There is a discussion about the Jones polynomial and its ability to yield primes, though the probability of obtaining a prime from random input values is noted to be very low.

Areas of Agreement / Disagreement

Participants express a range of views, with some agreeing that no polynomial can generate all primes, while others contest the historical belief regarding Euler's polynomial. The discussion remains unresolved regarding the implications of these claims and the existence of counterexamples.

Contextual Notes

Participants reference various mathematical concepts, including modular arithmetic and Diophantine equations, but the discussion does not resolve the complexities or limitations of these arguments. The historical context of Euler's polynomial and its perceived validity is also not fully clarified.

khotsofalang
Messages
21
Reaction score
0
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?
 
Physics news on Phys.org
Well, what, exactly, is "Euler's polynomial equation"? Don't you think that is important?
 
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, isn't there any way he can be proven to be false?
 
khotsofalang said:
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, isn't there any way he can be proven to be false?
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.
 
See also http://en.wikipedia.org/wiki/Formula_for_primes Euler's formula for primes as posted in this thread was once widely thought to generate primes for any integer n, but as shown by this link that was false. The proof is simple an noted in the link. Assume that P(x) is a polynominal in x that gives a prime p for the value n.
But then p|P(n+kp) for all integer k so these numbers must be composite for every k so the polynominal is a constant, p, rather than a polynominal.

P.S. Euler never said that the polynominal generated "all primes", but then that is obviously not what you meant is it?
 
It is possible with polynomials in more variables, as the same wiki article points out:

...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).
 
That doesn't count - look at the restriction placed on both the input and output variables.
 
Count Iblis said:
It is possible with polynomials in more variables, as the same wiki article points out:
but the same polynominal would generate composites also with large enough variables. Think how easy it would be to exceed the largest prime otherwise
 
P(n) = n^2 + n + 41 =>
P(40) = 40^2 + 40 + 41
= 40 * 40 + 40 + 41
= 40 * 41 + 41 = 41 * 41 = composite.
 
  • #11
  • #12
ramsey2879 said:
but the same polynominal would generate composites also with large enough variables. Think how easy it would be to exceed the largest prime otherwise

The positive values of the Jones polynomial for positive values of the variables are always primes and all primes can be obtained this way. The problem is just that the probability that a random choice of the input vaiables will yield a positive value is astronomically small. If finally, after billions of years of trying, some positive value is obtained, it will likely be a prime number like 23.
 
  • #13
robert Ihnot said:
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. Then P(1+kS) \equiv P(1) \equiv 0 Mod S.

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.
 
  • #14
CRGreathouse said:
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.
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.
 
  • #15
If you do, I'd appreciate the effort if you post it.
 

Similar threads

Replies
48
Views
5K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 12 ·
Replies
12
Views
906
  • · Replies 6 ·
Replies
6
Views
2K