Print other primes . Remaining primes are of the form 2 * i + 1 such that marked [ i ] is false .
for ( int i = 1 ; i <= nNew ; i ++ ) if ( marked [ i ] == false ) System . out . print ( 2 * i + 1 + " ▁ " ) ; return - 1 ; }