![]() |
|
|
#78 |
|
Feb 2010
Sweden
AD16 Posts |
If you use some clever modulus arithmetic, you might not need to do all divisions. What would be cheaper (division or modulus arithmetic), probably is dependent on your division implementation. Or more strictly if you use simple division as usual, than your lower expos are faster to test by division, or if you exponentiate than higher range is faster to do. There are some turning points in each, where modulus arithmetic would be faster to implement.
I would be glad for a lesson of modulus arithmetic for this problem. If we have given prime q=41234346670140799944889 and the factors of q-1 as set {2, 3, 7, 181, 409, 1721, 43573, 44212963}, which ones we could safely eliminate? So which ones of exponents {2, 3, 7, 181, 409, 1721, 43573, 44212963} we should not bother to test of being divisible by q? |
|
|
|
|
|
#79 | |
|
Romulan Interpreter
Jun 2011
Thailand
966410 Posts |
Quote:
So, the only "safe" to eliminate are the exponents which are over 1 billion (those are not interesting for Gimps) or those for which 2^p-1 is higher than q^2, i.e. few small exponents, under p=100, which are already full factored. A better question would be if you really need to test for primality of q, before factoring (q-1)/2, or (q-1)/8. If you sieve is fast, few more exponentiations for non-prime q (which will end with "no factor" anyhow) would be faster that testing every q for primality. Somewhere here around there is a pari/gp implementation for this method, which displays the timing for each "activity", primality testing, factoring, overload, etc. I posted some time ago. You can look for it. Last fiddled with by LaurV on 2014-09-01 at 11:52 |
|
|
|
|
|
|
#80 | |
|
Jun 2003
5,087 Posts |
Quote:
![]() As a practical matter, all exponents under 2000 can be discarded because either they are fully factored or sufficient ECM has been run to rule out the factor candidate. |
|
|
|
|
|
|
#81 |
|
Romulan Interpreter
Jun 2011
Thailand
26×151 Posts |
You are right, from that point of view.
The OP was interested in eliminating stuff by modular tricks, and I don't know any. OTOH, exponentiation for 181 and 409 (and even 100k exponents) is so fast as testing if they are so small ![]() The gain would be if he can eliminate larger birds, or avoid factorization somehow. There is an algorithm to get p=\beta(q) such as q | Mp and for any r such as q | Mr, we have p | r. The algorithm works for any odd q, not necesary prime, for example \beta(9)=6, \beta(21)=6, \beta(71)=35, \beta(89)=11, \beta(99)=30, etc, but that algorithm is as slow as factorization. Last fiddled with by LaurV on 2014-09-01 at 13:17 |
|
|
|
|
|
#82 | |
|
Feb 2010
Sweden
173 Posts |
Indeed my question was if it is possible to eliminate exponent candidates through modular arithmetic and LaurV clearly pointed that it is a wrong way of thinking. LaurV, thank you for replying to my stupid question. At least I learned something. I personally would never try anything below M10000 as it is highly improbable that we will have a factor with the range of factorization power (a candidate q above 45-50 digits is hard to factorize and exponents <10000 clearly are tried for such "small" factors).
Quote:
P.S. Avoid factorization? That would be nice, but then we have to construct q, similarly to any search though k.The beauty of the TJAOI's work is in the reverse approach (quite fruitful for small q and a nightmare for the database of course). Last fiddled with by bloodIce on 2014-09-01 at 13:43 |
|
|
|
|
|
|
#83 |
|
Jun 2014
12010 Posts |
TJAOI Manual testing 302093003 F Sep 27 2014 11:59AM 0.0 0.0000 12766940905816873
TJAOI Manual testing 720779699 F Sep 27 2014 11:59AM 0.0 0.0000 12907469135237953 Oddly the recent cleared report shows just one result out of order - and one that should've been reported yesterday judging by the size. Probably just a q he missed, but it's strange to see that. |
|
|
|
|
|
#84 |
|
Apr 2014
8016 Posts |
Finished 2^54 today.
Found ~350,000 factors from 2^53-->54. Started on September 2nd and Finished today. |
|
|
|
|
|
#85 |
|
Dec 2014
24 Posts |
It seems to me that the "recent cleared" is not working as intended. If these exponents have already been factored, they aren't being cleared now so there should be a check for an already factored exponent before showing on that page. Then we could see if TJAOI is finding any factors for unfactored exponents.
|
|
|
|
|
|
#86 | |
|
Apr 2014
27 Posts |
Quote:
Short answer: They are not finding factors for any unfactored numbers. I doubt that they will get above 2^61 in less than a couple of years which is the minimum level that all numbers have been TF'd to. |
|
|
|
|
|
|
#87 |
|
Apr 2014
27 Posts |
Finished 2^55 today.
Found ~413000 factors. |
|
|
|
|
|
#88 | |
|
Sep 2014
111012 Posts |
Quote:
109252799 240874213 252202289 258230057 261399217 263487907 303101047 326566909 359856499 369858761 397461607 412469627 413001497 426275299 442328771 447476401 486509377 497342737 505503371 522960943 537839851 547552667 561825293 562505611 566369017 592582589 603295153 618849137 623325497 623710957 640176941 647528111 660762161 668331623 689381573 695332819 738275149 742897583 747730469 759936811 767251937 774338557 774984037 806753677 813330223 821771833 843585377 846942643 856101901 861840079 878314699 879826861 885371657 915739621 924488843 944011273 963535717 971859341 993797821 997732003 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Old User | Unregistered | Information & Answers | 1 | 2012-10-18 23:31 |
| The user CP has gone :( | retina | Forum Feedback | 5 | 2006-12-05 16:47 |
| Changing My User ID | endless mike | NFSNET Discussion | 1 | 2004-10-31 19:38 |
| OSX yet? new user here | KevinLee | Hardware | 6 | 2003-12-12 17:06 |
| help for a Mac user | drakkar67 | Software | 3 | 2003-02-11 10:55 |