[sage-support] Re: Calculate the DLP of 9916780 = (5**y) mod 20876441?

2020-05-13 Thread GZ D
You can use a function called *discrete_log, *and I have shown you a script below. m=5 c=9916780 n=20876441 m=Mod(m,n) c=Mod(c,n) print(discrete_log(c,m)) 在 2020年5月13日星期三 UTC+8下午12:11:57,Madison Adams写道: > > Hi, > So my goal is to find the variable y of this equation. > Does sage math provide a

[sage-support] How to search a usage of a specific function?

2020-05-13 Thread GZ D
For example, I want to search the usage of the function called *Mod*, and what should I do if I want to know the usage and the related description of this function? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group

[sage-support] Re: Calculate the DLP of 9916780 = (5**y) mod 20876441?

2020-05-17 Thread GZ D
Yes, I get the answer y = 17. 在 2020年5月13日星期三 UTC+8下午9:04:02,Madison Adams写道: > > From running this script do you get the value y = 17? I used a wolfram > calculator just to be sure. > > On Wednesday, May 13, 2020 at 6:00:37 AM UTC-4, GZ D wrote: >> >> Yo

Re: [sage-support] How to search a usage of a specific function?

2020-05-17 Thread GZ D
the function, you can do the > same thing with two question marks instead ("Mod??"). > > > Le 13/05/2020 à 15:35, GZ D a écrit : > > For example, I want to search the usage of the function called *Mod*, > and > > what should I do if I want to know the usage and t