Prime Numbers Example

A prime number has exactly two positive factors: 1 and itself. This example tests 37 by checking prime divisors only up to its square root, then confirms its complete factor set.

Is 37 a prime number?

To classify 37, look for a prime divisor other than 1 and 37. If none exists up to the square root of 37, no larger factor can pair with a smaller one to make 37.

37≈6.08\sqrt{37}\approx6.08
Key facts used in this example
Number37
Prime candidates to check2, 3, and 5
Positive factors1 and 37

Step-by-step solution

  1. 1

    Find the square-root limit

    Any composite number has a factor no greater than its square root. For 37, that limit is just over 6, so only prime candidates 2, 3, and 5 need checking.

    37≈6.08\sqrt{37}\approx6.08
  2. 2

    Test divisibility by 2 and 3

    37 is odd, so it is not divisible by 2. Its digit sum is 3 + 7 = 10, which is not divisible by 3.

    37≢0(mod2),3+7=10≢0(mod3)37\not\equiv0\pmod2,\qquad3+7=10\not\equiv0\pmod3
  3. 3

    Test divisibility by 5

    A whole number divisible by 5 ends in 0 or 5. Since 37 ends in 7, it is not divisible by 5.

    37≢0(mod5)37\not\equiv0\pmod5
  4. 4

    State the factor set

    No prime divisor up to the square-root limit divides 37. Therefore, it has no positive factors besides 1 and itself.

    Factors⁡(37)={1,37}\operatorname{Factors}(37)=\{1,37\}

ANSWER

37 is prime

The only positive factors of 37 are 1 and 37, so 37 is prime.

37 is prime37\text{ is prime}

Check the conclusion

A prime number has exactly two positive factors. The tests above rule out every possible prime divisor up to the square root of 37.

37=1⋅3737=1\cdot37