Bitdefender interview question

An algorithm for prime numbers.