Prime Numbers Math Example 2
Follow the full solution, then compare it with the other examples linked below.
Example 2
mediumDetermine whether is prime.
Solution
- 1 Find . We only need to test primes up to 9: .
- 2 is odd (not divisible by 2). , not divisible by 3. Does not end in 0 or 5 (not divisible by 5). (not exact).
- 3 No prime up to divides , so is prime.
Answer
To test primality, check divisibility only by primes up to . If none divide evenly, the number is prime. This drastically reduces the number of checks needed.
About Prime Numbers
Integers greater than 1 whose only positive divisors are 1 and themselves—they cannot be factored further.
Learn more about Prime Numbers →