365Labs interview question

Implement an algorithm to find all prime numbers between 1 and N