Implemented more efficient method who just to get a shortened  [1 ... sqrt(n)] of prime factor interval to decide if n is prime as well