On Fri, Jul 22, 2011 at 10:14 PM, raman kurdi <raman.kurdi2...@gmail.com> wrote: > Hi Dears > First I must find all primes in the form p=8k+1 or p=8k+7 in range 10000. > Second I should find the all integers a and b such that p=a^2-2b^2 in range > 10000. > Could you please help me for writing this program?
Is this a homework problem? It sounds like it. Provide context. -- William > > -- > 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 > -- William Stein Professor of Mathematics University of Washington http://wstein.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