document.write( "Question 913107: how can it be easy to know if a number is prime \n" ); document.write( "
Algebra.Com's Answer #554289 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
A simple method is to divide your integer n by every prime from 2 up to , and if your quotient is an integer for some divisor, n is not prime. If you do obtain an integer quotient, stop. (because you know n is composite) \n" ); document.write( "
\n" );