Another option is to use the pow() function, as in pow(a, b, c). On Mar 17, 1:58 am, Robert Bradshaw <rober...@math.washington.edu> wrote: > mod(a, c)^b > > On Wed, Mar 16, 2011 at 10:44 PM, Santanu Sarkar > > > > > > > > <sarkar.santanu....@gmail.com> wrote: > > How one can calculate a^b mod c in Sage for large b? > > > -- > > 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 > > athttp://groups.google.com/group/sage-support > > URL:http://www.sagemath.org
-- 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