linear sieve keeping track of first prime factor
dummy file
linear sieve with smallest prime factor for each number