| 1 | initial version |
G_1,G_2, k_1,k_2 do not look helpful as they are unrelated to the equation defining k.
What you need is .discrete_log() function -- see this page for documentation and examples.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.