Hi Monks,
Is there any efficient way to find the given prime N is prime or not. N as its range from 1<N<1000000. Output must be generate within a timespan of 1sec. Can anyone tel me the most efficient way of finding the prime number within this time slot.