bitshifter05
Programmer
I have a program that is for school and part of it is to determine if a given number is a prime. I have tried to look for a formula that gives me this answer. No such luck. I know that the only even prime is 2. But other than that I don't wan't to have to check the given number against the whole prime table. Thanks for any help.
bitshifter [sig][/sig]
bitshifter [sig][/sig]