document.write( "Question 808200: if roots of the quadratic equation x^2-31+a=0 are prime numbers , then the value of a is ? \n" ); document.write( "
Algebra.Com's Answer #486854 by JBarnum(2146)\"\" \"About 
You can put this solution on YOUR website!
through guess n check a=6
\n" ); document.write( "x^2+(-31+6)=0
\n" ); document.write( "x^2-25=0
\n" ); document.write( "x=5 x=-5
\n" ); document.write( "which 5 and -5 are prime numbers
\n" ); document.write( "hope you find a better way to do it.
\n" ); document.write( "oh just got it...take the same prime number square it multiply it by -1 then add it to -31 to find the value of a
\n" ); document.write( "so for the prime number 2:
\n" ); document.write( "2^2=4 * -1
\n" ); document.write( "-31+a=-4
\n" ); document.write( "a=27
\n" ); document.write( "so for the prime number 3:
\n" ); document.write( "3^2=9 * -1
\n" ); document.write( "-31+a=-9
\n" ); document.write( "a=22
\n" ); document.write( "so for the prime number 5:
\n" ); document.write( "5^2=25 * -1
\n" ); document.write( "-31+a=-25
\n" ); document.write( "a=6
\n" ); document.write( "so for the prime number 7:
\n" ); document.write( "7^2=49 * -1
\n" ); document.write( "-31+a=-49
\n" ); document.write( "a=-11\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );