On Jan 15, 2009, at 4:57 PM, [email protected] wrote:

> In a message dated 1/15/2009 7:53:24 P.M. Eastern Standard Time,  
> [email protected] writes:
> It wasn't.  2^3021377-1 is the third largest known and the next two  
> larger are
> only slightly bigger.
> I was calculating M37 which is the largest known Mersenne less than  
> 10^6 digits long.
>
> www.mersenne.org (GIMPS) is up to M46 which is over 12*10^6 digits  
> long!

Even then

sage: n = 43112609
sage: time m = (2^n - 1)
CPU times: user 0.01 s, sys: 0.01 s, total: 0.02 s
Wall time: 0.02 s
sage: time s = str(m)
CPU times: user 37.57 s, sys: 1.41 s, total: 38.98 s
Wall time: 39.40 s
sage: len(s)
12978189

Of course, these latest Mersenne primes aren't known to have been  
discovered in order.

- 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