<p><span style="font-size:22px"><a href="https://www.prepswift.com/quizzes/quiz/prepswift-is-it-prime" target="_blank">Is it Prime exercise</a></span></p><p>To determine whether the integer $n$ is prime, take the square root of $n$ and see if it is divisible by any prime numbers lower than that square root value. For example, if we wanted to determine whether $107$ is prime, we would do the following:</p>
<p>$$\sqrt{107} \approx 10.34$$</p>
<p>Next, we have to see if $107$ is divisible by the primes <span style="color:#e74c3c;">below</span> that value: $2$, $3$, $5$, and $7$. If it's not divisble by any of those smaller primes, then we could conclude that $107$ is indeed prime. $107$ is indeed prime by the way.</p>