In the attached file there is my attempt; it seems to work; it seems to me that there is a bug in the code in the book; in line 4 it should be ``Find r in [0,..., ceiling(abs(B)/2] such that r**2 == A mod B``
On Tuesday, July 16, 2013 2:13:32 AM UTC+2, Thilina Rathnayake wrote: > > Hi Ondrej, > > Here is my attempt to debug: > http://nbviewer.ipython.org/94ee433a4dca26e3fee1 > > Regards, > Thilina. > > > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
