Solved problems 70 and 72.  Calculate totients using a sieve.