ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 11 Jul 2013 17:15:52 +0200get multiplicative subgroup of Z/nZhttps://ask.sagemath.org/question/10346/get-multiplicative-subgroup-of-znz/Is it possible to get a multiplicative group object of integers modulo n?
For example for n=15 the elements are {1,2,4,7,8,11,13,14}
Of course I can get the elements itself with
> R = Integers(15)
> R.list_of_elements_of_multiplicative_group()
but not as a group.
It is also possible to construct the isomorphic group C2 x C4,
but then the elements are not integers:
> G=AbelianGroup([2,4])
jack77Thu, 11 Jul 2013 17:15:52 +0200https://ask.sagemath.org/question/10346/