On Dec 11, 7:11 pm, Rob Beezer <goo...@beezer.cotse.net> wrote: > sage: Z36 = Integers(36) > sage: U = [x for x in Z36 if gcd(Integer(x), 36) == 1]
Don't you think the use of the very similar looking "Integers" and "Integer" might be confusing? If you stick with "conversion by calling the target parent on it", i.e., sage: U = [x for x in Z36 if gcd(ZZ(x), 36) == 1] you can avoid this and perhaps get a useful general "conversion" habit into them. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org