![]() |
![]() |
#12 |
Mar 2006
Germany
303010 Posts |
![]()
Easiest way if you got one/both prime factors of the C130 for sure in the list:
- goto FactorDB - put the 130 digit number in the field and click "factorize" - put the list of the 100 possible primefactors in the input field for "Report factors" - click "Report" - the C130 now is factored |
![]() |
![]() |
![]() |
#13 |
"Rashid Naimi"
Oct 2015
Remote to Here/There
44768 Posts |
![]()
It would be an interesting puzzle to figure out the maximum number of gcd tests required if both primes are in the list of 100. I get maximum of 14 tests if Murphyโs law applies for all the tests.
![]() ![]() Last fiddled with by a1call on 2022-06-10 at 06:56 |
![]() |
![]() |
![]() |
#14 |
"Oliver"
Sep 2017
Porta Westfalica, DE
101101001012 Posts |
![]()
What I would do:
Let \(c_1, \dots, c_{100}\) be the candidates and \(n\) the number to factor. Set \(i=1\) and \(m=100\).
|
![]() |
![]() |
![]() |
#15 |
"Rashid Naimi"
Oct 2015
Remote to Here/There
2×7×132 Posts |
![]()
My mistake. Please disregard.
Last fiddled with by a1call on 2022-06-10 at 08:32 |
![]() |
![]() |
![]() |
#16 |
"Oliver"
Sep 2017
Porta Westfalica, DE
5×172 Posts |
![]()
Maybe my solution is not optimal, either.
![]() |
![]() |
![]() |
![]() |
#17 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
2×3,359 Posts |
![]()
For 4 candidates and up to two divisors, you can't be guaranteed to find them with 2 tests.
Last fiddled with by retina on 2022-06-10 at 09:58 |
![]() |
![]() |
![]() |
#18 |
"Oliver"
Sep 2017
Porta Westfalica, DE
5×172 Posts |
![]()
Why not?
Last fiddled with by kruoli on 2022-06-10 at 10:36 Reason: Omitted superfluous words. |
![]() |
![]() |
![]() |
#19 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
671810 Posts |
![]()
You are correct, you can identify 0, 1 or 2 divisors with 2 tests from 4 candidates.
But not with the algorithm as shown above. Test 2b gives no further information, both c1 and c2 divide n. Last fiddled with by retina on 2022-06-10 at 11:46 |
![]() |
![]() |
![]() |
#20 |
"Oliver"
Sep 2017
Porta Westfalica, DE
5·172 Posts |
![]()
As per the OP's statement, we know that we have at least one factor within the candidates.
You are correct about 2b. You likely wanted to do:
|
![]() |
![]() |
![]() |
#21 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
150768 Posts |
![]()
You can just do:
a=gcd(n,c1*c2) b=gcd(n,c3*c4) And then figure out the divisors from a & b later. Last fiddled with by retina on 2022-06-10 at 12:05 |
![]() |
![]() |
![]() |
#22 | |
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
52×7×67 Posts |
![]() Quote:
They collected a very large number of RSA public moduli and found common factors within the set, thereby breaking a large number of live public keys. I will see if I can find the paper ... here it is https://eprint.iacr.org/2012/064 https://souravsengupta.com/publications/2017_iciss.pdf indicates that the algorithm can be parallelized. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRP double checks are also included in the first time list | retina | PrimeNet | 6 | 2017-10-29 01:31 |
Manual testing on CPU list | Fred | PrimeNet | 3 | 2016-02-12 02:49 |
Time needed to factor a 150 digit number | ladderbook | Factoring | 14 | 2008-11-27 13:02 |
Is it time for a 100M digit option? | petrw1 | PrimeNet | 60 | 2008-09-30 22:43 |
50 Digit Testing | wblipp | ElevenSmooth | 1 | 2003-11-15 23:53 |