FactSet interview question

Find all prime numbers under N