EulerPhi

EulerPhi[n] computes Euler's totient function for n

Attributes[EulerPhi] := {Listable, Protected, ReadProtected}

Simple examples

In[1]:= EulerPhi[98]
Out[1]= 42
In[2]:= EulerPhi[0]
Out[2]= 0
In[3]:= EulerPhi[-98]
Out[3]= 42