Max Alekseyev on Thu, 14 Sep 2017 21:46:33 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

eulerphi(0)


Is there any particular reason behind eulerphi(0) = 2 ?

? eulerphi(0)
%1 = 2

I'd rather expect eulerphi(0) to result in an error. 
Zero value would also make more sense, since there are no positive integers <=0 (even if we do not care about co-primality).

Regards,
Max