[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 w

[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 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 w

[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 arithmeti

[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 unsubscr

[sage-support] Re: Vandiver´s conjecture

2007-03-20 Thread DanK
Hi, I tried a little bit and I think I have programmed the test for Vandiver´s conjecture like Buhler et. al. described it in their papers. I have both ways the slow and fast in the notebook of sage. I will show it to you here and hope you can eventually show me some points were are mistakes, if

[sage-support] Re: Vandiver´s conjecture

2007-03-12 Thread DanK
> > You should explain the nature of this "exam". Obviously we don't want > to help you "cheat" on an exam. What sort of exam is it? Please > clarify. > Hi, it is my first end exam (german: 1. Staatsexamen) to get a teacher of mathematics and physical education, therefore I must write 50 to 7

[sage-support] Re: Vandiver´s conjecture

2007-03-12 Thread William Stein
On 3/12/07, DanK <[EMAIL PROTECTED]> wrote: > my name is Daniel Köhl and I´m a student of mathematics and physical > education at the Johannes-Gutenberg Universität of Mainz. I´m writing > to you, because I´m working on vandiver´s conjecture for my exam. ^ You should explain the