Dear Minh, Thanks a lot.
On 5 March 2010 14:06, Minh Nguyen <[email protected]> wrote: > Hi Yujia, > > On Fri, Mar 5, 2010 at 11:58 PM, yujia chiu <[email protected]> wrote: > > Thanks for your advice, but my sage says that 'discrete_log' is not > defined > > [mv...@sage ~]$ sage > ---------------------------------------------------------------------- > | Sage Version 4.3.3, Release Date: 2010-02-21 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > sage: b = Mod(2, 37); a = b^20 > sage: discrete_log(a, b) > 20 > sage: K = GF(3^6, "b") > sage: b = K.gen() > sage: a = b^210 > sage: discrete_log(a, b, K.order() - 1) > 210 > > -- > Regards > Minh Van Nguyen > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<sage-support%[email protected]> > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- Kind Regards, Yujia Qiu -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
