English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-09-24 22:57:49 · 3 answers · asked by Anonymous in Education & Reference Homework Help

3 answers

You only need to check for divisibility by prime numbers up to the square root of the number.

For example the square root of 101 is 10.05
To check whether 101 is prime or not you need to check primes less than 10.05
That's 2, 3, 5, and 7. None of these four numbers divides 101, so 101 is prime.

2007-09-24 23:09:13 · answer #1 · answered by jsardi56 7 · 0 0

List all the factors in pairs. If there is only one pair of factors- 1 and itself- then it's a prime number.
Example-
7 factors (1,7) = prime
24 factors (1,24), (2,12), (3,8), (4,6) + not prime (composite)

2007-09-24 23:12:48 · answer #2 · answered by Anonymous · 0 0

keep dividing it by every number up to half it's value.

2007-09-24 23:02:06 · answer #3 · answered by h b 4 · 0 0

fedest.com, questions and answers