![]() |
|
|
#67 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
|
|
|
|
|
|
#68 |
|
May 2013
East. Always East.
11×157 Posts |
Tell us more about Patterns.
|
|
|
|
|
|
#69 | |
|
"Dana Jacobsen"
Feb 2011
Bangkok, TH
11100011002 Posts |
Quote:
In the case of the composite mentioned, there is a small factor so easily caught -- it takes under 0.04s for my is_prime to find it just using simple trial division tests based on the input size. OpenFPGW and Pari/GP don't do much trial division, but still don't take very long for the first PRP test to indicate composite (~30s and 4.5 minutes respectively). If I skip the pretests and force just BPSW or base-2 SPRP it's 2.5min for ntheory (as expected, PFGW is much faster at this size). I don't think LLR would cover this, especially not with the /3. Ignoring the /3, PFGW-3.7.7 indicates it can optimize k * b^n +/- c for c to 42-bits. I haven't looked into it at all however -- the LLR code I've added to my software is braindead simple, just doing b=2, c = -1, k = not-div-by-3. c=+1 is easily done via BLS75-T5. Riesel discusses the k-div-3 case for k*2^n-1 Bosma (1993) has some info, and there's a good post from a few years ago on this forum that has a lot of details, but I haven't gone into it (and it doesn't answer your question anyway). Berrizbeitia et al. have a generalization to A*m^s+w where w has restrictions. |
|
|
|
|
|
|
#70 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
I hope that's rhetorical if(gcd(a,d)!=1 or gcd(b,d)!=1, then gcd(a,d) or gcd(b,d) is a divsor) or a typo.
Last fiddled with by science_man_88 on 2014-11-23 at 21:10 |
|
|
|
|
|
#71 |
|
Aug 2006
3×1,993 Posts |
In this case (a = 23, b = 10, c = 46554, d = -11) both GCDs are 1. But I'm not talking about finding a single factor but a class of factors, just like prime factors of Mersenne numbers have a special form. In this case I checked for divisibility by all small primes directly (modular exponentiation) but I wondered if there was a faster way. (I was pretty sure that there was one and that people here would know more about this than I do.)
|
|
|
|
|
|
#72 | ||
|
Aug 2006
3×1,993 Posts |
Quote:
* Of course if I did it in PARI directly it would be a good bit faster but I just did it in gp. Quote:
Last fiddled with by CRGreathouse on 2014-11-23 at 21:38 |
||
|
|
|
|
|
#73 | |
|
"Dana Jacobsen"
Feb 2011
Bangkok, TH
22×227 Posts |
Quote:
. I claim ignorance of special factor forms, but would enjoy seeing any positive responses.
|
|
|
|
|
|
|
#74 | |
|
Nov 2003
22·5·373 Posts |
Quote:
accused of being an asshole by Gordon in a fairly lengthy diatribe. Allow me to point out that there has been no similar reply here....... |
|
|
|
|
|
|
#75 |
|
Romulan Interpreter
Jun 2011
Thailand
7×1,373 Posts |
To be back on track: just pointing out that, according with factorDB, this number is known to be composite since (about) March 2011. As Batalov said, the guy is either innocent (in the bad sense) or a bot.
[edit: I am also interested in the discussion started by CRG's question, for some "general" case] Last fiddled with by LaurV on 2014-11-24 at 02:48 |
|
|
|
|
|
#76 |
|
Feb 2013
2·229 Posts |
Quoting here.
Batalov said: I am moving this discussion to "Homework help". It has nothing to do with new Fermat Factors. If you take a hammer and a screw, hammer the screw into the wall and declare: "the hammer is not working and the screw is all bent", -- this whole thing only demonstrates that you use a hammer where you need a screwdriver. - Oh, definitely we missed some factors between the P252 and the P564 (Fermat). Or, what the heck else. Getting back to it, of course. Last fiddled with by storflyt32 on 2014-11-25 at 06:06 |
|
|
|
|
|
#77 | |
|
May 2013
East. Always East.
11·157 Posts |
Quote:
And that pretty much seals it. Bot.
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Composite being Prime | kruoli | FactorDB | 5 | 2018-02-16 16:54 |
| How can I prove this PRP prime? | siegert81 | Math | 2 | 2014-11-19 10:24 |
| How do I prove a 4000 digit number is prime?? | VJS | Lounge | 4 | 2005-05-09 20:56 |
| How do you prove a number is prime? | Alien | Math | 12 | 2004-01-07 11:36 |
| why not stop when composite is prove? | mdjvz | Software | 4 | 2003-09-28 17:13 |