Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How can identify prime numbers ?
8 Answers
- 2 years agoFavorite Answer
Find the square root of the number (N)
Divide the number by every prime number from 1 to sqrt(N). We'll call those number p
If Nmodp = 0, then N is not a prime number. That is, if N is evenly divisible by p, then N is not a prime number.
There are other methods that are much faster, but that's the most basic one
- DavidLv 72 years ago
Prime numbers are whole numbers that have only two factors which are themselves and one such as 2 3 5 7 11 13 ... etc
- ?Lv 72 years ago
Prime numbers are numbers that have only 2 factors: 1 and themselves.
For example, the first 5 prime numbers are 2, 3, 5, 7, and 11.
By contrast, numbers with more than 2 factors are called composite numbers.
- How do you think about the answers? You can sign in to vote the answer.
- ComoLv 72 years ago
-
A prime number is a number that can be divided by itself and one only.
The first few prime numbers are :-
2 , 3 , 5 , 7 ,11 , 13 , 17 , 19
- Anonymous2 years ago
6 years ago you asked:
"If 2^(n) -1 is prime then n is prime where n is element of integer?"
You seem to have gone backwards quite a lot in 6 years! Well done!
- roderick_youngLv 72 years ago
A prime number is an integer that is evenly divisible only by 1 and itself. For smaller numbers, you can just try, "Is it divisible by 2? Is it divisible by 3? Is it divisible by 4? ... Is it divisible by n?" up until n^2 is bigger than the number. There are optimizations, like, you only need to check divisors that are, themselves, prime.
For bigger numbers, you can find factoring servers on the internet, or just run the "factor" program in linux.
For really big numbers, it takes a lot of computer power to assure that an arbitrary number is prime, but you can get a pretty good idea that something is probably prime with things like the Lehman-Lehrer Test (beyond the scope of this answer).
- Anonymous2 years ago
They are only divisible by themselves and 1