The quadratic equation , where and are integers, has positive, integer-valued roots.
Is it possible that is a prime number?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Assume that p and q are the roots of the equation
By using Vieta's Formula, we know that p + q = − a and p q = b + 1
Rearrange the expression
a 2 + b 2 = ( − ( p + q ) ) 2 + ( p q − 1 ) 2 = p 2 q 2 + p 2 + q 2 + 1 = ( p 2 + 1 ) ( q 2 + 1 )
Remember that a prime number has factor of 1 and the number itself, but ( p 2 + 1 ) or ( q 2 + 1 ) can't have the value of 1 since p and q are non-zero integers number as in the problem's description.
Therefore, a 2 + b 2 will not get prime number