Intel Corporation interview question

A prime number generating program