Question 1027857
What is the greatest prime that must be concidered to test whether 671 is prime? 
-----------------
It depends on your method.
If you test primes in order, you'll find that 11 is a factor, leaving 61 (671 = 11*61).
-------
Then checking 61 requires testing to INT(sqrt(61)) = 7
====================