Functions

compute least prime factor table and prime numbers list. O(N)