![]() |
|
|
#45 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
the reason I asked it because they very slightly mentioned something in PM that was supposed to speed it up at very least.
|
|
|
|
|
#46 | |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
3·5·137 Posts |
Quote:
I don't think it is necessarily worse than trial division in general though. There should be a medium range where less trials than trial division would result in primes specially if you write the routine intelligently by keeping the sums as low as possible but for very large primes the sums will diverge very rapidly. You don't really need to calculate the base primes either. you can use the theorem to come up with solutions to that such as using double factorials of a composite odd integer, rather than primes multiplied. the double factorial can be calculated using product of sequence formula. To further keep the sum from diverging you can factor out large number of known primes. But all this would not do for a billion plus digits. As I mentioned before there are better approaches to this. BTW, thank you for being one of the few intelligent posters to this thread. |
|
|
|
|
|
#47 |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
3·5·137 Posts |
Please read the red comment in my earlier post. I thought it was distinct enough. Obviously I was wrong.
|
|
|
|
|
#48 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
|
|
|
|
|
#49 |
|
"Rashid Naimi"
Oct 2015
Remote to Here/There
80716 Posts |
|
|
|
|
|
#50 |
|
Jun 2003
22×3×421 Posts |
|
|
|
|
|
#51 |
|
"Dana Jacobsen"
Feb 2011
Bangkok, TH
22·227 Posts |
This makes me think of Maurer or Shawe-Taylor methods for generating proven primes. There we get to double or triple the bits every round. One could do something similar with other BLS75 theorems (Maurer's algorithm can be seen as a case of theorem 3) or even ECPP. Just build up the proof backwards to get larger and larger numbers. It makes nice large proven primes, but I seriously doubt it would scale well to millions of digits.
|
|
|
|
|
#52 | |
|
∂2ω=0
Sep 2002
República de California
103×113 Posts |
Quote:
Counter #1: A = {2,3}, B = 2, C = 3. Let b = 2^1, c = 3^3. Then b+c = 29 is prime, but -b+c = 25 is not. Counter #2: A = {2,3,5,7,11}, B = 2, C = {3,5,7,11}. Let b = 2^1, c = 3*5*7*11 = 1155. Then -b+c = 1153 is prime, but b+c = 1157 = 13*89 is not. |
|
|
|
|
|
#53 | |
|
Romulan Interpreter
Jun 2011
Thailand
100101100010112 Posts |
Quote:
|
|
|
|
|
|
#54 |
|
Jun 2003
13BC16 Posts |
|
|
|
|
|
#55 | |
|
Nov 2003
11101001001002 Posts |
Quote:
is hardly new. See the paper "Primes at a Glance" by John Selfridge et.al. |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is CEMPLLA 1.5 "the only software in the world capable of discovering" something? Not really. | CRGreathouse | Number Theory Discussion Group | 51 | 2018-12-16 21:55 |
| Aouessare-El Haddouchi-Essaaidi "test": "if Mp has no factor, it is prime!" | wildrabbitt | Miscellaneous Math | 11 | 2015-03-06 08:17 |
| "Subproject" #10: 200k-300k to 110 digits | RobertS | Aliquot Sequences | 9 | 2011-05-07 15:30 |
| Would Minimizing "iterations between results file" may reveal "is not prime" earlier? | nitai1999 | Software | 7 | 2004-08-26 18:12 |
| Search for a number theoretic function related to "prime divisor sums" | juergen | Math | 2 | 2004-07-10 23:01 |