Question d’entretien chez Gentex Corporation

Write an algorithm to determine all prime numbers.