mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2019-03-19, 17:00   #12
GP2
 
GP2's Avatar
 
Sep 2003

A1916 Posts
Default

Quote:
Originally Posted by Dr Sardonicus View Post
Just by way of practice, I did this with 2^5040 - 1. There weren't many composites left standing.
FactorDB uses color coding. Prime factors are in black text, composite factors are blue. So at a glance, 2^5040 βˆ’ 1 has only one, 278-digit composite factor.
GP2 is offline   Reply With Quote
Old 2019-03-20, 16:57   #13
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

4,643 Posts
Default

Quote:
Originally Posted by GP2 View Post
FactorDB uses color coding. Prime factors are in black text, composite factors are blue. So at a glance, 2^5040 βˆ’ 1 has only one, 278-digit composite factor.
Thanks for the link.

I pursued the "small arms fire" attack on 2^5040 - 1 just to see how far it got me. The result was, the only composite factors left standing were the entire cyclotomic factor PHI(5040,2) (347 digits) and a 168-digit cofactor of the cyclotomic factor PHI(2520,2).

(I had Pari-GP completely factor cyclotomic factors less than 10^80, and factor larger ones up to primelimit. This left five unchecked factors. One of them was prime, and two others were composite, but small enough that factor() cracked them quickly. And then there were two.

Time for the big guns! The C168 cofactor of PHI(2520, 2) has been completely factored. PHI(5040,2) has been whittled down from a C347 to a remaining C278 cofactor.
Dr Sardonicus is offline   Reply With Quote
Old 2019-03-20, 19:48   #14
DukeBG
 
Mar 2018

3·43 Posts
Default

Friends, you don't need to dig that deep into this particular number, this was just an example of a "shattering world record" (according to the original post) being found in a few seconds. I've chosen 5040 because it's 7! and thus the number will have a ton of algebraic factors that'll consist of small divisors.
DukeBG is offline   Reply With Quote
Old 2019-03-20, 21:09   #15
lukerichards
 
lukerichards's Avatar
 
"Luke Richards"
Jan 2018
Birmingham, UK

25·32 Posts
Default

Quote:
Originally Posted by DukeBG View Post
this was just an example of a "shattering world record" (according to the original post)

For the record, the original post was asking questions, not making claims.
lukerichards is offline   Reply With Quote
Old 2019-03-21, 13:34   #16
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

4,643 Posts
Default

Quote:
Originally Posted by lukerichards View Post
For the record, the original post was asking questions, not making claims.

As already indicated, for the purpose of "record factors" found by ECM, only prime factors need apply.

Therefore, you want to divide out any small factors before trying ECM.

I don't know what 240,000 digit number you're looking at. If it is of a special form that admits algebraic factors, by all means use that.

I imagine some form of "trial division" can be used to eliminate really tiny factors (i.e. factors in precomputed tables of primes up to some small limit).

If the factors are restricted to be of a special linear form, this fact can be exploited to do trial factorization beyond computed tables of primes.

There are other methods (e.g. Pollard Rho) that might turn up small factors cheaply.

I don't know a reasonable limit L for "my number has no factors below L" as a criterion for when to resort to ECM.
Dr Sardonicus is offline   Reply With Quote
Old 2019-03-21, 15:25   #17
DukeBG
 
Mar 2018

8116 Posts
Default

Oh, I don't think lukerichards was doing some generic number and getting small composites bundled up into the big composite factor found. So they probably don't need this guidance.

It's just that sometimes during ECM (same goes for P-1/P+1 for that matter) you can find two prime factors of the target size with the same curve. That will result in a twice bigger than expected composite number. Or thrice if you're lucky (i.e. that 106 composite might have been tree factors at the same time in a -t35 search).
DukeBG is offline   Reply With Quote
Old 2019-03-21, 15:43   #18
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

250616 Posts
Default

It is clear which number he is factoring -- 3504206+1, see
Quote:
Originally Posted by lukerichards View Post
I'm now wondering again about factoring 3504206+1, having discovered last March that 3504206+2 is a PRP.
Batalov is offline   Reply With Quote
Old 2019-03-21, 21:17   #19
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

1075310 Posts
Default

Quote:
Originally Posted by Batalov View Post
It is clear which number he is factoring -- 3504206+1
A cheap and cheerful way of approaching such numbers, which I've used many times in the past, is first to enumerate all factors of the exponent, here 504206. Sort them into numerical order and let's call the list di. As 504206 = 2*23*97*113, the list starts with 2, 23, 46, 97, 113, 194, 226 and ends with 252103. Start with N = 3504206+1. Then compute gcd(N, 3^(di) Β± 1) in turn and use a light-weight factoring algorithm to find its small prime factors and a possible large composite. At each step, divide N by the GCD just found and repeat with di+1. You are left with a bunch of relatively small prime factors and a short list of relatively large composites. At this point, bring out the heavy artillery, including consulting the Factordb.

Certainly not the optimal approach but easy to implement. My apologies for teaching egg-sucking to grannies who already know all about algebraic factorization
xilman is offline   Reply With Quote
Old 2019-03-22, 13:36   #20
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

122316 Posts
Default

Quote:
Originally Posted by Batalov View Post
It is clear which number he is factoring -- 3504206+1, see
[laughs] Oh, that one again! The first go-round was 11 months ago. The cyclotomic factorization and linear forms were gone through. The unlikelihood of factoring the number was explained.

It had another recent go-round, so this is the third iteration. Lazarus got to come back from the dead once. Jesus is said to be due a second coming. But a third? I'm at a loss as to what to call it. The "bad penny" number?
Dr Sardonicus is offline   Reply With Quote
Old 2019-03-22, 14:45   #21
GP2
 
GP2's Avatar
 
Sep 2003

5·11·47 Posts
Default

Would any of these techniques be applicable to larger numbers? Say, trying to find the remaining factors of 2^47684βˆ’1 or 2^47684+1

47684 = 2 Γ— 2 Γ— 7 Γ— 13 Γ— 131

If you could somehow make miraculous progress on these, there might be a path to an Nβˆ’1 proof of primality of (2^95369+1) /3.

But I think the techniques you're discussing are applicable to much smaller exponents and smaller factors, am I right?

Last fiddled with by GP2 on 2019-03-22 at 14:45
GP2 is offline   Reply With Quote
Old 2019-03-22, 17:35   #22
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by GP2 View Post
Would any of these techniques be applicable to larger numbers? Say, trying to find the remaining factors of 2^47684βˆ’1 or 2^47684+1

47684 = 2 Γ— 2 Γ— 7 Γ— 13 Γ— 131

If you could somehow make miraculous progress on these, there might be a path to an Nβˆ’1 proof of primality of (2^95369+1) /3.

But I think the techniques you're discussing are applicable to much smaller exponents and smaller factors, am I right?
The approach I outlined is applicable to all numbers of the form anΒ±1.

I would be very surprised if the N you mention haven't already had algebraic factors removed.
xilman is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sieving freakishly big MMs (was "World record" phone number?) davieddy Operazione Doppi Mersennes 282 2019-06-24 07:57
World record sized double-check? Siegmund PrimeNet 6 2016-05-09 22:39
World Record Factorial Prime Found rogue Lounge 8 2012-03-02 16:41
70 billion pixels Budapest (world record) R. Gerbicz Science & Technology 0 2010-07-28 01:50
Question about record prime using Elliptical Curve method jasong Factoring 0 2006-02-28 04:00

All times are UTC. The time now is 12:50.


Sat Jul 17 12:50:44 UTC 2021 up 50 days, 10:38, 1 user, load averages: 1.44, 1.53, 1.42

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.