This excludes 1 which is not prime, and which the definition of prime as "number divisible by itself and one" allows. 1 is not prime.

This also means -1 is not prime, since -1 does not have exactly two positive divisors. And, -3 is prime.

See all of prime number, there are 12 more in this node.