Hi, it seems I was wrong about this yesterday (Olexandr and I discussed in person yesterday):
sage: K.gen? Return a generator of self. All elements x of self are expressed as log_{self.gen()}(p) internally. This generator might differ between different runs or different architectures. WARNING: The generator is not guaranteed to be a generator for the multiplicative group. To obtain the latter, use multiplicative_generator(). So, indeed, K.gen() may be != K.multiplicative_generator() Olexandr, does your code work if you switch to multiplicative_generator() or does that present problems for you? Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://martinralbrecht.wordpress.com/ _jab: martinralbre...@jabber.ccc.de -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org