Pergunta de entrevista da empresa Paperless Parts

Write an algorithm that finds the first N prime numbers.