Java program to print print all primes smaller than n using segmented sieve
import java . util . Vector ; import static java . lang . Math . sqrt ; import static java . lang . Math . floor ; class Test {