![]() |
![]() |
#1 |
"James Heinrich"
May 2004
ex-Northern Ontario
3,733 Posts |
![]()
After 962 days of effort, the entire range of 1000M to 4294M (more accurately M(109) to M(232-1), or M1000000007 to M4294967291) has been trial-factored to (at least) 264.
Thanks to those who helped the effort. Last fiddled with by James Heinrich on 2015-04-30 at 15:09 |
![]() |
![]() |
![]() |
#2 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
11001011000112 Posts |
![]() |
![]() |
![]() |
![]() |
#3 |
"Nathan"
Jul 2008
Maryland, USA
45B16 Posts |
![]()
Now that we have a more robust server, perhaps we should extend the GIMPS database to include these exponents, if only to provide a unified repository for data on Mersenne numbers. (LL tests on such numbers, of course, are likely decades - probably centuries - in the future.)
|
![]() |
![]() |
![]() |
#4 |
"James Heinrich"
May 2004
ex-Northern Ontario
3,733 Posts |
![]()
Oops... fixed.
My data is freely available should George decide to do so. Currently it would be ~5GB of data, but of course hundreds of millions of new rows. I wouldn't be surprised if it would take a fair bit of rewriting code that expects no exponent can ever be >= 1000M. There's also the possibility that something in the code might freak out with exponents > 231 (signed int). |
![]() |
![]() |
![]() |
#5 |
May 2013
East. Always East.
172710 Posts |
![]()
Congratulations.
I think it would be neat to incorporate these results into the new-and-improved GIMPS server also. |
![]() |
![]() |
![]() |
#6 |
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
22×3×433 Posts |
![]()
So.......now what?
As is where are your resources heading for now? I suspect GPU72 may very welcome them. ![]() |
![]() |
![]() |
![]() |
#7 |
"James Heinrich"
May 2004
ex-Northern Ontario
3,733 Posts |
![]()
Don't worry, Chris already staked a claim on them for GPU72
![]() |
![]() |
![]() |
![]() |
#8 |
"/X\(‘-‘)/X\"
Jan 2013
295310 Posts |
![]()
If it's the 32 bit version of PHP, ints are limited to [-2^31,2^31-1]. That's usually easily fixed by using the 64 bit version, but there may also be limitations on the database fields, etc.
|
![]() |
![]() |
![]() |
#9 | |
"James Heinrich"
May 2004
ex-Northern Ontario
3,733 Posts |
![]() Quote:
![]() (Rumored to maybe potentially might be fixed in PHP v6, but not before then.) |
|
![]() |
![]() |
![]() |
#10 | |
Serpentine Vermin Jar
Jul 2014
22×72×17 Posts |
![]() Quote:
Factors themselves are stored as text... no worries there (as long as it's not more than 200 digits). Exponents are stored as int which in SQL will be fine up to 2,147,483,647 (2^31-1), but beyond that we'd have to change it to bigint (2^63-1). As far as SQL goes, for the most part SQL will cast from int to bigint automagically. Problem is, the exponent shows up all over the DB and just one place where it gets missed would break things. I hadn't thought about the PHP side of things. it's 64-bit, but James raises a good point. If PHP can't handle larger int, then workarounds would be needed. I'd imagine it'd have to accept it as text with some data validation, then every time it interfaces with SQL it can still insert the PHP variable with the "text" value of the exponent, but that's kind of a pain. Especially if it meant reworking old code and verifying a bunch of things. You could cheat it by using negative ints but it's definitely a cheat and still complicated. If you're doing that you might as well do something that lets you get above 2^32 anyway. What a horrible PHP mess... that ints are different based on the underlying OS. Yuck. |
|
![]() |
![]() |
![]() |
#11 | |
"/X\(‘-‘)/X\"
Jan 2013
B8916 Posts |
![]() Quote:
1. PHP uses longs for its ints 2. Most operating systems use the processor native size for longs, thus a long is 64 bits on a 64 bit architecture, but Microsoft did its own thing, and kept a long as 32 bits |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
RSA-220 factored | ixfd64 | Factoring | 2 | 2016-05-24 16:01 |
Factored vs. Completely factored | aketilander | Factoring | 4 | 2012-08-08 18:09 |
RSA-190 factored | poily | Factoring | 16 | 2010-12-06 13:36 |
RSA-200 factored | xilman | Factoring | 23 | 2005-06-02 03:24 |
Server is assigning already factored exponents in 21M range | GP2 | PrimeNet | 14 | 2003-11-01 21:34 |