document.write( "Question 172501: My math teacher gave the class the following problem\"\r
\n" ); document.write( "\n" ); document.write( "(1+1/2)(1+1/3)(1+1/5)(1+1/7)(1+1/11)...(1+1/prime) > 10\r
\n" ); document.write( "\n" ); document.write( "What is the first prime number that works in the above?\"\r
\n" ); document.write( "\n" ); document.write( "He told us that if we could answer the problem within a week we could get bonus points on the exam. Could you please help me solve this problem?
\n" ); document.write( "

Algebra.Com's Answer #127405 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
My math teacher gave the class the following problem\"\r
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "\n" ); document.write( "What is the first prime number that works in the above?\"\r
\n" ); document.write( "\n" ); document.write( "He told us that if we could answer the problem within a week we could get bonus points on the exam. Could you please help me solve this problem?
\n" ); document.write( "
\r\n" );
document.write( "I did it by writing a Liberty Basic computer program. \r\n" );
document.write( "You have to go to the 1245th prime, which is 10141,\r\n" );
document.write( "before the product exceeds 10.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So the answer is that 10141, which is the 1245th prime, is the\r\n" );
document.write( "smallest prime number such that the product exceeds 10.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );