[sage-support] primes and integers

2011-07-24 Thread raman
Hi Dears First I must find all primes in the form p=8k+1 or p=8k+7 in range 1. Second I should find the all integers a and b such that p=a^2-2b^2 in range 1. Could you please help me for writing this program? -- To post to this group, send email to sage-support@googlegroups.com To unsub

Re: [sage-support] primes and integers

2011-07-24 Thread raman kurdi
Hi Dears First I must find all primes in the form p=8k+1 or p=8k+7 in range 1. Second I should find the all integers a and b such that p=a^2-2b^2 in range 1. Could you please help me for writing this program? On 7/24/11, raman kurdi wrote: > Dear Prof.Stein > This is not homework but it

Re: [sage-support] primes and integers

2011-07-23 Thread raman kurdi
Dear Prof.Stein This is not homework but it is a part of my paper that I am writing on the elliptic curves. I want to set forth for sage support maybe someone can help me. Unfortunately I have forgotten the sage support address and so send to this address. Best regards Raman On 7/23/11, William

Re: [sage-support] primes and integers

2011-07-22 Thread William Stein
On Fri, Jul 22, 2011 at 10:14 PM, raman kurdi wrote: > Hi Dears > First I  must find all primes in the form p=8k+1 or p=8k+7 in range 1. > Second I should find the all integers a and b such that p=a^2-2b^2 in range > 1. > Could you please help me for writing this  program? Is this a homew

[sage-support] primes and integers

2011-07-22 Thread raman kurdi
Hi Dears First I must find all primes in the form p=8k+1 or p=8k+7 in range 1. Second I should find the all integers a and b such that p=a^2-2b^2 in range 1. Could you please help me for writing this program? -- To post to this group, send email to sage-support@googlegroups.com To unsub