|
|
|
|
Solution
|
Solution provided by AtoZmath.com
|
|
Is 31 a prime number calculator
|
You can also try
1. Is 31 a prime number
2. Which of the following is a prime number 13,48,49,23,45,47
3. Which of the following is a composite number 13,19,22,31
4. First 1000 prime numbers
5. 5th prime number
6. Prime numbers from 1 to 1000
7. Greatest prime number between 1 and 100
8. What is the next 2 prime number after 37
9. What is the previous 2 prime number before 37
10. What is the largest 2 digit prime number
11. What is the smallest 4 digit prime number
12. Express 21 as the sum of three prime numbers
13. are 25 and 27 co-prime numbers
14. Find all co-prime numbers from 1 to 100
15. are 11 and 13 twin primes
16. Find all twin prime numbers between 1 to 100
|
Example1. is 31 a prime number
Solution: To check if `31` is prime, test for factors from 2 up to the square root of `31` (which is `5`)
`31-:2=15` and remainder = 1, So it is not divisible by 2
`31-:3=10` and remainder = 1, So it is not divisible by 3
`31-:5=6` and remainder = 1, So it is not divisible by 5
Since, `31` is not divisible by any prime number upto `5`.
So `31` is a prime number.
|
|
|
|
|