document.write( "Question 107997: Tell wether the number is prime or composite. If it is composite,write its prime factorization.\r
\n" ); document.write( "\n" ); document.write( " 8. 345\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Any help with this equation would be GREATLY appreciated.
\n" ); document.write( "

Algebra.Com's Answer #78711 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
To determine if a number is prime, divide it by all of the prime numbers less than the square root of the number. If none of the prime divisors divides the number evenly, then then number is prime.\r
\n" ); document.write( "\n" ); document.write( "\"sqrt%28345%29\" is a little more than 18, so you have to divide by:\r
\n" ); document.write( "\n" ); document.write( "2, 3, 5, 7, 11, 13, and 17. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The number 345 is odd, so 2 is not a factor.\r
\n" ); document.write( "\n" ); document.write( "\"345%2F3=115\", so 3 is a factor, and 345 is composite.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2 wasn't a factor of 345, so it can't be a factor of 115 either.\r
\n" ); document.write( "\n" ); document.write( "\"115%2F3\" is not integral, so 345 only has the single 3 as a factor.\r
\n" ); document.write( "\n" ); document.write( "\"115%2F5=23\", so 5 is another factor of 345.\r
\n" ); document.write( "\n" ); document.write( "And finally, 23 is prime because it is not divisible by either 2 or 3 (\"sqrt%2823%29%3C5\")\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Therefore, the prime factorization of 345 is (3 * 5 * 23)
\n" ); document.write( "
\n" );