Question d’entretien chez Paycom

Code an algorithm to find all prime numbers less than n.