document.write( "Question 1062750: Write a program to print the following series
\n" );
document.write( "2 5 11 17 23 31 41 47 59 ...
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #677752 by rothauserc(4718)![]() ![]() You can put this solution on YOUR website! This is a list of every second prime beginning with 2. \n" ); document.write( ": \n" ); document.write( "The index into the list of primes would be (2n-1) where n = 1, 2, ......k \n" ); document.write( ": \n" ); document.write( "You would have to set k to some integer, for example 100 \n" ); document.write( ": \n" ); document.write( "There are plenty of examples of c or java code on the internet to generate prime numbers, store them in a matrix and then use the index (2n-1) into the matrix to print out the every second prime number list \n" ); document.write( ": \n" ); document.write( " \n" ); document.write( " |