IsPrime function
Moderator: Board moderators
IsPrime function
How do I develop a simple function to check if some integer is prime or not? Of course I would appreciate you would not submit the trivial one, that I consider building a primes array until I reach the desired number and checking for mod not zero for the number if it