On Jan 15, 2009, at 4:53 PM, William Stein wrote:

>>> [[his
>>> timing turns
>>> out to really have been of printing out the answer via the notebook.
>>> better would be to do
>>> sage: time s =  2^3021377-1
>>> CPU time: 0.00 s,  Wall time: 0.00 s
>>> sage: time open('output.txt','w').write(str(s))
>>> CPU time: 0.70 s,  Wall time: 0.70 s
>>>
>>> which gives a link to a file that you can download that contains
>>> the answer.]]
>>
>> Yep, that was my diagnosis of the 6 minutes too. Or perhaps as
>> mentioned it was a different Mersenne prime that we're talking about,
>
> It wasn't.  2^3021377-1 is the third largest known and the next two  
> larger are
> only slightly bigger.

Good point. Even the latest ones found shouldn't take much longer to  
compute the decimal representation of (certainly not minutes).

- Robert



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to