Euler phi function, denoted φ(d)