Kevin Buzzard on Thu, 14 Sep 2017 21:56:21 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: eulerphi(0) |
The number of units in Z/(0) is 2 ;-) Kevin On 14 September 2017 at 20:46, Max Alekseyev <maxale@gmail.com> wrote: > 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