![]() |
![]() |
#1 |
"Juan Tutors"
Mar 2004
571 Posts |
![]()
While playing with the P-1 test for a presentation (having nothing to do with Mersenne primes), I noticed that a great deal of large numbers had common factors with 3^E-1 using B1=10. After playing with the factors for a while, I realized that the larger the number was, the more likely that these factors were due to the fact that 3^E-1 is large (1202 digits), more than the fact that the exponent is divisible by E=(2^3)(3^2)(5)(7). In other words, I found a great amount of non-smooth factors of large numbers this way. The obvious reason is that the pattern of numbers with factors in common with E repeats, while as an integer variable grows, it gains access to more potential prime factors.
This got me wondering, have any non-smooth Mersenne factors been found via the P-1 method due to the fact that 3^(2Ep)-1 is large? or is the probability of finding a non-smooth common factor of 3^(2Ep)-1 and Mp just too low? I guess an additional question is, might the algorithm be more productive if we start with a larger base, closer to k=(Mp)/2, since such a power would have about 2Ep*log(k) digits? |
![]() |
![]() |
![]() |
#2 | |
Jun 2003
2×7×389 Posts |
![]() Quote:
But for regular numbers, there is no special structure to the factor-1, and so we rely on the basic smoothness only. |
|
![]() |
![]() |
![]() |
#3 |
"Juan Tutors"
Mar 2004
10738 Posts |
![]() Last fiddled with by JuanTutors on 2021-11-22 at 13:24 |
![]() |
![]() |
![]() |
#4 |
Jun 2003
10101010001102 Posts |
![]()
Ok. Then, can you give an example where the size of 3^E-1 mattered instead of the the smoothness of E?
|
![]() |
![]() |
![]() |
#5 | |
"Robert Gerbicz"
Oct 2005
Hungary
1,621 Posts |
![]() Quote:
use base=3 and B1=10 with the standard exponent=2^3*3^2*5*7 and you can factor n=1177457, finding the factor 1181=1+2^2*5*59: Code:
? n=1177457;gcd(lift(Mod(3,n)^(8*9*5*7)-1),n) %14 = 1181 ? factor(1180) %15 = [ 2 2] [ 5 1] [59 1] ? factor(n) %16 = [ 997 1] [1181 1] ? ? znorder(Mod(3,1181)) %17 = 20 ? |
|
![]() |
![]() |
![]() |
#6 |
Jun 2003
125068 Posts |
![]()
Sure, I'm aware of this possibility. In this particular case, 3 == 394^59 (mod 1181), so we effectively did a proper P-1 using based 394.
It is much more likely to work when we're working with toy-sized numbers. For practical P-1, basically, there is no way to work this into a proper algorithm that will help us improve the odds while still maintaining same runtime. Simpler to just increase B1 and/or B2. I guess OP's observation of this happening with larger 3^E-1 is just an artifact of dealing with /more/ numbers. |
![]() |
![]() |
![]() |
#7 |
"Juan Tutors"
Mar 2004
571 Posts |
![]()
To clarify, I was curious as to whether such a factor has been found, not whether it is possible. In addition, I asked this question as a personal query, not in an effort to prove or disprove something. Letting B1=10, all numbers relatively prime to E which are B1-smooth are also factors of 3^E-1. However, 3^E-1 also has factors which are not B1-smooth. Some of these non B1-smooth factors are themselves products of B1-smooth factors of 3^E-1, and some are not. My question was, in the case of performing P-1 factorization of large Mersenne numbers, whether any such factors have been found.
//EDIT: I see that as I was typing, R. Gerbicz stated essentially what I mentioned. Last fiddled with by JuanTutors on 2021-11-22 at 15:08 |
![]() |
![]() |
![]() |
#8 | |
"Robert Gerbicz"
Oct 2005
Hungary
1,621 Posts |
![]() Quote:
Another type of example: use the same base, B1, exponent, but for n=2944901 Code:
? n=2944901;gcd(lift(Mod(3,n)^(8*9*5*7)-1),n) %33 = 4201 |
|
![]() |
![]() |
![]() |
#9 |
"Vincent"
Apr 2010
Over the rainbow
22×7×103 Posts |
![]()
Brent - Suya extension anyone?
|
![]() |
![]() |
![]() |
#10 |
"Juan Tutors"
Mar 2004
10001110112 Posts |
![]()
Granted that the first case of a factor which is not B1-smooth and has no B1-smooth factors should be rare, I would think that this second case should happen occasionally. After all, if 2Jp+1 and 2Kp+1 are both B1-smooth, then (2Jp+1)(2Kp+1)=2p(2JKp+J+K)+1 is unlikely to be B1-smooth. If the probability of finding one factor that is B1-smooth is about 2%, while recognizing that factors are not evenly distributed, we should occasionally come across a Mersenne number that has two B1-smooth factors.
Last fiddled with by JuanTutors on 2021-11-23 at 00:41 |
![]() |
![]() |
![]() |
#11 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
5×112×17 Posts |
![]()
There are many cases of double and triple factors like that (i.e. composite P-1 factors), we find them monthly or weekly. Last one here. We don't know of any prime factor like that (except Brent-Suyama factors).
Last fiddled with by LaurV on 2022-01-09 at 15:28 |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Nearly all Factors up to 2^71 found between 2.86 G and 2.96 G | Kalli Hofmann | Marin's Mersenne-aries | 14 | 2021-04-12 13:12 |
Factors found before ECM starts | MisterBitcoin | YAFU | 1 | 2018-08-10 16:58 |
How are such big factors found? (M1193) | heliosh | PrimeNet | 7 | 2018-01-24 16:54 |
No factors found | aketilander | PrimeNet | 9 | 2011-05-17 11:32 |
Fermat 12 factors already found? | UberNumberGeek | Factoring | 6 | 2009-06-17 17:22 |