Determine if an Integer is a Prime Number (Fast, Efficient algorithm)
Category:Dates and Math
Efficient algorithm to test for prime numbers. Significantly fewer calculations involved than the typical prime test uses.
Instructions: Copy the declarations and code below and paste directly into your VB project.