![]() |
|
|
#1 |
|
Dec 2018
2 Posts |
Hello, as a math and prime number lover i've been following and using yafu for about 3 years but because of my insufficent computer skills sometimes im not able to use it.
I better ask the question directly, Lets say we have a '214 digit' number and we know that there are only 2 factors of it and the factors are both 108 digits. For example, '108 digits x 108 digits = 214 digits'. In this situation, how can i tell yafu to look out for only 108 digits numbers to factorize the 214 digits number? I mean i know that there are 2 factors only and they are 108 digits. With this knowledge, there is no need to lose time and look for other numbers. Is there any usage option for this? ps, sorry for my bad english but i hope you understand what i want to say :) |
|
|
|
|
|
#2 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
2×7×677 Posts |
Technically, first thing: a product of two 108-digit numbers will have at least 215 digits.
|
|
|
|
|
|
#3 | |
|
"Ben"
Feb 2007
1101101110012 Posts |
Quote:
Short answer: If you know the size of the factors and they are both large, then you can probably skip directly to the number field sieve. In yafu you would do this with the command "nfs(your_number)". But you shouldn't do this (see below). Longer answer: Assuming this isn't a number with a special form (e.g., equal to something like a^b - c, with a,b,c "smal"), which it probably isn't because of the equal size of the factors, then it would rank among the most difficult factorizations ever attempted by humans. Yafu will not be successful in factoring it. To attempt it, you'll need hundreds of computer cores sustained over a period of months to years, along with a fairly manual process using different tools (CADO or combination of msieve, ggnfs) in a way that yafu isn't designed to optimize. Others on the forum have more experience and could maybe provide more specific guidance if you are determined enough to proceed. |
|
|
|
|
|
|
#4 |
|
Dec 2018
2 Posts |
wow i wasn't really expecting answers that fast :)
@Batalov thanks for correcting i was trying to give examples from nowhere but you are right my example was wrong. @bsquared, ok i think understand it. thank you for your kindness and time to give explanation. |
|
|
|
|
|
#5 |
|
"Ben"
Feb 2007
3×1,171 Posts |
Here is a reference point: the factorization of RSA220
It took ~370 CPU-years of sieving effort, in 2016 computer-years. And that's just the sieving. The arguably more difficult matrix-solve stage took weeks on an Infiniband-interconnected cluster. |
|
|
|
|
|
#6 |
|
Jul 2018
31 Posts |
Do you know anything more about these factors, e.g. that their difference is fairly small...?
|
|
|
|
|
|
#7 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
978710 Posts |
Sounds like encryption keys or some such. Why might one want to factor them????
![]()
|
|
|
|
|
|
#8 | |
|
Aug 2006
3·1,993 Posts |
Quote:
|
|
|
|
|
|
|
#9 | |
|
"Ben"
Feb 2007
1101101110012 Posts |
Quote:
+5 years and +5 digits and maybe one could do the OP's number for about the same? |
|
|
|
|
|
|
#10 |
|
Apr 2012
Brady
27×3 Posts |
I'll second B^2's opinion of your assessment. You covered all bases. I wasn't aware of Passmark so your post provided me with a bit of unexpected help also. Ty.
Last fiddled with by jwaltos on 2019-01-10 at 00:01 |
|
|
|
|
|
#11 | |
|
Aug 2006
175B16 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Noob Question | Pickwun | Information & Answers | 7 | 2017-11-07 19:17 |
| yafu.pl Usage Currently | EdH | FactorDB | 37 | 2016-09-11 18:37 |
| yafu memory usage for ecm | Johnatan | YAFU | 5 | 2016-06-13 11:28 |
| Noob Question: What to use | bozocv | Msieve | 36 | 2015-12-31 00:12 |
| Noob question | xago666 | Information & Answers | 3 | 2008-03-11 01:35 |