Possible Duplicate:
Given Prime Number N, Compute the Next Prime?
How to Given a number, describe an algorithm to find the next number which is prime ? Best and most efficient way ?
Possible Duplicate:
Given Prime Number N, Compute the Next Prime?
How to Given a number, describe an algorithm to find the next number which is prime ? Best and most efficient way ?