FactSet Interview Question

Find all prime numbers under N