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.Com
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.

Answer by Edwin McCravy(20065)   (Show Source): You can put this solution on YOUR website!
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



RELATED QUESTIONS

Okay this is Very confusing to me since I just opened my Algebra book for my online class (answered by richard1234)
I need to know how to write a polynomial equation of least degree with roots -3i, 3i, i, (answered by scott8148)
Could you please help me with this question? Write sin t in terms of sec t ; quadrant (answered by Edwin McCravy,ikleyn,mccravyedwin,greenestamps)
This is a unusual question but I came here because I don’t have anyone else to ask... (answered by MathLover1,ikleyn)
I need help with this question please. If p is a prime number and ɸ is the Euler... (answered by richard1234)
Probability and stats are not easy for me. I truly appreciate the help of you guys.... (answered by jim_thompson5910)
Can someone PLEASE HELP me with this problem, I really do NOT understand any of this... (answered by Edwin McCravy)
dear sir i have already send a Q . the Q is "whether ((2^16)+1) prime or composite ?" (answered by Edwin McCravy)
Not sure whether I placed this question in the correct category- Hello, could you help... (answered by Theo,solver91311)