Cognizant interview question

Describe an algorithm to find a prime number