Proving the primality of a quadratic over the natural numbers

In summary, it has been shown that there is a way to prove or disprove the statement that y=3x^2+3x+1 is prime for all x belongs to natural numbers. By using the Goldbach theorem, it has been proven that if a polynomial has the property of always producing prime numbers for all inputs, it must be a constant. However, the given function is not constant and it has been checked for some values and found to be prime. But, it has also been shown that there are values for which the function produces non-prime numbers. Therefore, it can be concluded that the statement is false and there are natural numbers for which the given function is not prime.
  • #1
mathworker
111
0
is there any way to prove or disprove the statement:
y=3x^2+3x+1 is prime for all x belongs to natural numbers...
 
Mathematics news on Phys.org
  • #2
Re: help!

mathworker said:
is there any way to prove or disprove the statement:
y=3x^2+3x+1 is prime for all x belongs to natural numbers...

Yes, use the following theorem (Goldbach 1752):

If $f\in\mathbb{Z}[x]$ has the property that $f(n)$ is prime for all $n\ge 1$, then $f$ must be a constant.
 
  • #3
Re: help!

mathworker said:
is there any way to prove or disprove the statement:
y=3x^2+3x+1 is prime for all x belongs to natural numbers...

Is...

$$ y = 3\ (x-x_{1})\ (x-x_{2})\ (1)$$

... where $x_{1}$ and $x_{2}$ are the roots of the equation $x^{2} + x + \frac{1}{3} = 0$. The discriminat is <0, so that no real roots exists and that means that no real factor of y in (1) exists...

Kind regards

$\chi$ $\sigma$
 
  • #4
Re: help!

chisigma said:
Is...

$$ y = 3\ (x-x_{1})\ (x-x_{2})\ (1)$$

... where $x_{1}$ and $x_{2}$ are the roots of the equation $x^{2} + x + \frac{1}{3} = 0$. The discriminat is <0, so that no real roots exists and that means that no real factor of y in (1) exists...

Kind regards

$\chi$ $\sigma$

I don't undesrtand. We have $y(x)=3(x-a)(x-\bar{a})$ with $a=(-3+\sqrt{3}i)/6$, however $y(n)=3(n-a)(n-\bar{a})$ could be composite or prime.
 
Last edited:
  • #5
Re: help!

chisigma said:
Is...

$$ y = 3\ (x-x_{1})\ (x-x_{2})\ (1)$$

... where $x_{1}$ and $x_{2}$ are the roots of the equation $x^{2} + x + \frac{1}{3} = 0$. The discriminant is <0, so that no real roots exists and that means that no real factor of y in (1) exists...

Kind regards

$\chi$ $\sigma$

but if we consider x^2+x+1=y whose discriminant too is less than zero..
for x=4 it gives 21 which is not prime...:confused:
 
  • #6
Re: help!

Fernando Revilla said:
Yes, use the following theorem (Goldbach 1752):

If $f\in\mathbb{Z}[x]$ has the property that $f(n)$ is prime for all $n\ge 1$, then $f$ must be a constant.

but given function is not constant and i checked y =f(X) for some numbers and found it prime every time
 
  • #7
Re: help!

mathworker said:
but given function is not constant and i checked y =f(X) for some numbers and found it prime every time

\(\displaystyle 3\cdot 5^2 + 3\cdot 5 + 1 = 91 = 7\cdot 13\) this is the smallest non-prime value.

Nonconstant polynomials can't be forever prime, indeed suppose \(\displaystyle f(x)=a_n\cdot x^n +\ldots + a_1\cdot x^1 + a_0\)

Then imagine it were always prime, and then \(\displaystyle f(x)-f(y)=a_n\cdot (x^n-y^n)+\ldots + a_1\cdot (x-y)\) right?

Well, clearly \(\displaystyle x-y\) divides \(\displaystyle x^n-y^n=(x-y)\cdot \left(x^{n-1}+x^{n-2}y+\ldots +x y^{n-2}+y^{n-1}\right)\) for each \(\displaystyle n\), and so \(\displaystyle (x-y)|(f(x)-f(y))\)

Thus if \(\displaystyle p\) were a prime dividing \(\displaystyle f(r)\) for some \(\displaystyle r\geq 1\), we have \(\displaystyle \left( (k\cdot p + r) - r\right) | \left( f(k\cdot p + r) - f(r) \right)\) for each \(\displaystyle k\) and so, since \(\displaystyle p|f(r)\), it follows that \(\displaystyle p | f(p\cdot k+r)\) for each \(\displaystyle k\geq 1\).
But \(\displaystyle f(p\cdot k+r)\) for \(\displaystyle k\geq 1\) can't all equal \(\displaystyle p\), since \(\displaystyle f\) would otherwise have to be constant. Hence some \(\displaystyle f(k\cdot p + r)\) must be composite.

So with this construction in mind we could note that \(\displaystyle f(1)=7\), and so \(\displaystyle f(7\cdot k + 1)\) is nonprime for some \(\displaystyle k\geq 1\), check for instance \(\displaystyle f(8)=217\) which, as we saw, must be a multiple of \(\displaystyle 7\).
 
  • #8
Re: help!

mathworker said:
i checked y =f(X) for some numbers and found it prime every time

For some, but not for all. :)
 
  • #9
Re: help!

Fernando Revilla said:
For some, but not for all. :)

thank you for providing the theorem and quick reply...:D
 

FAQ: Proving the primality of a quadratic over the natural numbers

What does it mean to prove the primality of a quadratic over the natural numbers?

Proving the primality of a quadratic over the natural numbers means to show that the quadratic equation has no other factors besides 1 and itself when the input values are restricted to natural numbers. In other words, it is a way to determine if a quadratic equation is a prime number when using only whole numbers as inputs.

How is the primality of a quadratic over the natural numbers proven?

There are several methods to prove the primality of a quadratic over the natural numbers, such as trial division or using the Sieve of Eratosthenes. However, for larger numbers, more sophisticated algorithms like the Miller-Rabin primality test or the AKS primality test are used.

Why is it important to prove the primality of a quadratic over the natural numbers?

Proving the primality of a quadratic over the natural numbers is important in number theory and cryptography. It is used to determine the security of cryptographic algorithms and to understand the distribution of prime numbers in a given range.

What are the challenges in proving the primality of a quadratic over the natural numbers?

One of the main challenges is the time and computational resources required, especially for larger numbers. Additionally, the existence of efficient factorization algorithms can make it difficult to prove the primality of a quadratic over the natural numbers.

Are there any real-world applications of proving the primality of a quadratic over the natural numbers?

Yes, there are many real-world applications, including in cryptography for secure communication and data encryption. It is also used in the development of secure digital signatures and in the generation of random numbers for various applications. Additionally, it has implications in fields such as physics, biology, and economics.

Similar threads

Replies
5
Views
1K
Replies
13
Views
4K
Replies
1
Views
764
Replies
24
Views
2K
Replies
2
Views
1K
Replies
1
Views
1K
Replies
7
Views
1K
Back
Top