CGI Interview Question

how to generate prime numbers under 100