myprosperity interview question

Design an algorithm for determining prime numbers