Anonymous interview question

Prime number code in any language