Determine whether the integer 701 is prime by testing?

Click For Summary
The integer 701 is determined to be prime by testing divisibility against all prime numbers less than or equal to its square root, approximately 27. The calculations show that 701 is not divisible by any of these primes. Similarly, the integer 1009 is also confirmed as prime through the same method, testing against primes up to about 32. Both integers pass the tests without any divisors found among the relevant primes. Thus, both 701 and 1009 are concluded to be prime numbers.
Math100
Messages
817
Reaction score
229
Homework Statement
Determine whether the integer ## 701 ## is prime by testing all primes ## p\leq\sqrt{701} ## as possible divisors. Do the same for the integer ## 1009 ##.
Relevant Equations
None.
Proof:

Consider all primes ## p\leq\sqrt{701}\leq 27 ##.
Note that ## 701=2(350)+1 ##
## =3(233)+2 ##
## =5(140)+1 ##
## =7(100)+1 ##
## =11(63)+8 ##
## =13(53)+12 ##
## =17(41)+4 ##
## =19(36)+17 ##
## =23(30)+11 ##.
Thus, no prime numbers less than ## 27 ## are divisible by the integer ## 701 ##.
Therefore, the integer ## 701 ## is prime.
Now, we consider all primes ## p\leq\sqrt{1009}\leq 32 ##.
Note that ## 1009=2(504)+1 ##
## =3(336)+1 ##
## =5(201)+4 ##
## =7(144)+1 ##
## =11(91)+8 ##
## =13(77)+8 ##
## =17(59)+6 ##
## =19(53)+2 ##
## =23(43)+20 ##
## =29(34)+23 ##
## =31(32)+17 ##.
Thus, no prime numbers less than ## 32 ## are divisible by the integer ## 1009 ##.
Therefore, the integer ## 1009 ## is prime.
 
  • Like
Likes WWGD and nuuskur
Physics news on Phys.org
I didn't check all the numbers but it looks like you're doing the right thing
 

Similar threads

Replies
15
Views
4K
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
9
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
27
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
9
Views
2K