Fast Enterprises Interview Question

prime numbers 1-n