Re: [sage-devel] funny behaviour of Zmod

2022-09-06 Thread 'Doris Behrendt' via sage-devel
arrhhh sorry ;-) I actually stared at it for some time before posting to make sure that it's not a typo but did not see it > On 6. Sep 2022, at 09:19, dmo...@deductivepress.ca > wrote: > > You misspelled "multiplicative": you wrote "tl" instead of "lt". It works if > you spell it co

[sage-devel] funny behaviour of Zmod

2022-09-06 Thread 'Doris Behrendt' via sage-devel
Hello list, could this (see below) be a bug? When I try Zmod(17)(4).multiplicative_order(), I get 4 as expected. But not with 257 as modulus: sage: R=Zmod(257) sage: R(4) 4 sage: R(4).multiplicative_order() 8 sage: Zmod(257)(4).mutliplicative_order()