More optimizations for euler_phi(0,n)