Why is there a number n? To judge whether it is prime, we only need to check whether n can be divided by the number between 2 and the root n

Why is there a number n? To judge whether it is prime, we only need to check whether n can be divided by the number between 2 and the root n

Because n = radical n * radical n
If n contains a divisor a greater than the root N and less than N, then n must contain a divisor b greater than 1 and less than the root n
Let n = a * B
Therefore, if a number n has no divisor from 2 to the root n, then there must be no divisor from the root n to n-1, that is, n is a prime number