Math, asked by karkusmalfoy, 1 year ago

How to check whether a number is prime or not?

Answers

Answered by Anonymous
0
How to check whether a number is prime or not....

Divide the number by it's factors.....

If dividing the number by it's factors, only two of them have the remainder as 0 then the number is prime....

Ex- 3,7, etc...

TheRevenant01: Could be explained better!
Answered by BrainlyPromoter
2
Prime numbers are the numbers which can only be divided by itself and 1. The two factors in all the cases are 1 and the number themself.

The best way to check if a number is prime or not is to split the number into its factors.

For example, 4 cannot be taken as prime number because it can be divided by a number other than itself and 1.

For example, 5 can be taken as prime number because it cannot be divided by any other number than itself and 1.

TheRevenant01: 4= 2*2*1 doesn't just mean it has 3 factors!
TheRevenant01: Well then 1 would have infinite factors!
BrainlyPromoter: Thanks for reporting :)
BrainlyPromoter: Corrected.
Similar questions