Hello,
How can it be that Phi(0) = 0? I thought it was only defined for positive integers.
Regards,
Dean Sparrow
Hello,
How can it be that Phi(0) = 0? I thought it was only defined for positive integers.
Regards,
Dean Sparrow
Multiple conventions? See Totient Function -- from Wolfram MathWorld.
The Mathematica function EulerPhi is an implementation of phi(n) that handles zero and negative arguments in a convenient manner.
Bruce was right about this. The general context involves phi(-n) which is equal to phi(n). Thus phi(0) = 0 is a reasonable choice. Also 0 does not have a totative, so phi(0) should be zero.
I see. Thanks for the information.