Traverse the prime numbers till limit
for ( int i = 0 ; i < prime . size ( ) ; i ++ ) { int loLim = ( int ) Math . floor ( ( double ) low / ( int ) prime . get ( i ) ) ; loLim *= ( int ) prime . get ( i ) ;