Easy operations on Cyclic groups...

27 views
Skip to first unread message

Nathann Cohen

unread,
May 22, 2011, 9:58:40 AM5/22/11
to Sage Support
Hello everybody !

I want to enumerate the k different translations of [0,1,2] in Z/kZ. I
thought there should exist in Sage something like that (don't try it
it does not work) :

g = CyclicGroup(k)
S = g([1,2,3])
for i in g:
print S+i

Is that possible ? It looks like the CyclicGroup is Sage natively
contains permutations, and as I had no idea in which direction to look
I wrote a custom script :-)

Thanks for your help !!!

Nathann

Reply all
Reply to author
Forward
0 new messages