[sage-support] Re: Vandiver´s conjecture

2007-03-20 Thread DanK
One more question: Is there a command to get the total time for all computings in one notebook sheet(?)? I know the command time for one cell of sage. Daniel Köhl --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: Vandiver´s conjecture

2007-03-20 Thread David Harvey
On Mar 20, 2007, at 7:11 AM, DanK wrote: sage: v=1; w=1; x=1 #Berechnung von Vp,t noch ohne modulo q sage: for i in range(1,((p-1)/2)+1): ... v=z^i-z^(-i)%q ... w=v^(i^expo) ... x=(x*w)%q One serious problem is, that on the line ... w=v^(i^expo) you are doing the modular arithmetic

[sage-support] Re: Vandiver´s conjecture

2007-03-20 Thread DanK
Hi, thank you for your help. I have changed it to: v=1; w=1; x=1 #Berechnung von Vp,t noch ohne modulo q for i in range(1,((p-1)/2)+1): v=z^i-z^(-i)%q R=Integers(q) w=R(v)^(i^expo) x=(x*w)%q it give the same results like the faster algorithm and now I can compute primes with a higher value

[sage-support] Fwd: Modular Down

2007-03-20 Thread William Stein
On 3/20/07, Arthur Gaer [EMAIL PROTECTED] wrote: You're probably well aware of it, but U. Wash's version of Modular currently appears to be down (or at least unreachable). We have downtime for several days due to server room rewiring, and there's not much I can do about it... except make a

[sage-support] Re: Vandiver´s conjecture

2007-03-20 Thread William Stein
On Tuesday 20 March 2007 4:11 am, DanK wrote: Is there a possiibility to not gain this error? Sometimes when I made an Output the error Output truncated occured, is it possible to say sage, to show the complete Output? Click on the left side of the error and you'll see the rest of it (as it

[sage-support] Re: Vandiver´s conjecture

2007-03-20 Thread William Stein
On Tuesday 20 March 2007 4:29 am, DanK wrote: One more question: Is there a command to get the total time for all computings in one notebook sheet(?)? I know the command time for one cell of sage. The command cputime() returns the total CPU time used in that notebook sheet. The comand