SOLUTION: I would appreciate help with this question please.
Checking to see whether the number p is prime or not.
Is it enough to test that p does not have any divisors ≤ square roo
Algebra ->
Divisibility and Prime Numbers
-> SOLUTION: I would appreciate help with this question please.
Checking to see whether the number p is prime or not.
Is it enough to test that p does not have any divisors ≤ square roo
Log On
Question 871159: I would appreciate help with this question please.
Checking to see whether the number p is prime or not.
Is it enough to test that p does not have any divisors ≤ square root of p.
Yes because suppose p has a factor q >
and you have tried all the numbers less than .
Then would also be a factor of p
and < = =
so you would already have found the factor since it is less
than and you would have known that p was not prime. So
there would be no use to try q.
Edwin