Using both a SIEVE and TRIAL DIVISION