Calculating the totient function for n<10^5