EulerPhi
Usage Message: EulerPhi[n] gives the Euler totient function. Attributes[EulerPhi] = {Listable, Protected} Notes: There is an error in the EulerPhi function in Mathematica Version 3.0 that causes EulerPhi[1] to return 0, rather than 1. You can correct this error by adding a rule
Unprotect[EulerPhi]
EulerPhi[1] = 1
Protect[EulerPhi]
to the EulerPhi function.
You can have this workaround automatically loaded by placing
http://support.wolfram.com/Kernel/Symbols/System/EulerPhi.m
at the location given by
In[1]:= ToFileName[{$TopDirectory,"AddOns", "Autoload",
"EulerPhi", "Kernel"}, "init.m"]
This error has been corrected for the next release of Mathematica.
Additional Online Documentation:
Mathematica 3.0
http://documents.wolfram.com/v3/RefGuide/EulerPhi.html
Mathematica 4.0
http://documents.wolfram.com/v4/RefGuide/EulerPhi.html
Questions or comments? Send email to support@wolfram.com.
|