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.Sun, 18 Jun 2017 02:11:41 +0200Generic discrete_loghttps://ask.sagemath.org/question/37996/generic-discrete_log/ I've been struggling with discrete_log function. The docs say it is the generic BSGS algorithm that is supposed to work in any group. The function works e.g. if I write
discrete_log(Mod(9, 17), Mod(2, 17), 16, operation='*')
However it keeps returning 0 when I put operation='other', e.g.
discrete_log(9, 2, 16, operation='other', op=lambda x, y: (x * y) % 17)
The op function is not even called once.
Is there something that I'm doing wrong or is discrete_log not really generic?kdrSun, 18 Jun 2017 02:11:41 +0200https://ask.sagemath.org/question/37996/how to use giant-qaos-kash in sagemath(nb,cloud,or Vbox for windows)https://ask.sagemath.org/question/10785/how-to-use-giant-qaos-kash-in-sagemathnbcloudor-vbox-for-windows/how to use giant-qaos-kash in sagemath(nb,cloud,or Vbox for windows)
I find webkant cannot,and download kant need password,kant is gameover?cjshThu, 28 Nov 2013 21:08:23 +0100https://ask.sagemath.org/question/10785/