Example to illustrate 1)
Consider 239, whose $$\sqrt{239}$$ is in between 15 and 16, so we consider all prime numbers below 15 to check whether they are factors of 239
This is a shortest way to find whether a number is prime
Prime numbers less than 16 are 2,3,5,7,11,13
239 is not divisible by any of these prime numbers, so N is prime
When N is prime it has only two factors 1 and itself
So, number of prime factors is 1 Sufficient
eg 2:
Consider 15 which is not a prime number, $$\sqrt{15}$$ lies between 3 and 4
prime numbers below 4 are 2,3
15 is divisible by 3
So 15 is not a prime number
Basic rule is
If there is no prime number below the value of $$\sqrt{N}$$ which divides N then the number N is prime.